diff options
Diffstat (limited to 'spec')
-rw-r--r-- | spec/rtems/barrier/val/ident.yml | 4 | ||||
-rw-r--r-- | spec/rtems/message/val/ident.yml | 4 | ||||
-rw-r--r-- | spec/rtems/part/val/ident.yml | 4 | ||||
-rw-r--r-- | spec/rtems/ratemon/val/ident.yml | 4 | ||||
-rw-r--r-- | spec/rtems/sem/val/ident.yml | 4 | ||||
-rw-r--r-- | spec/rtems/task/req/ident.yml | 11 | ||||
-rw-r--r-- | spec/rtems/timer/val/ident.yml | 4 | ||||
-rw-r--r-- | spec/rtems/userext/val/ident.yml | 4 |
8 files changed, 31 insertions, 8 deletions
diff --git a/spec/rtems/barrier/val/ident.yml b/spec/rtems/barrier/val/ident.yml index 2db5bdc8..86e30210 100644 --- a/spec/rtems/barrier/val/ident.yml +++ b/spec/rtems/barrier/val/ident.yml @@ -18,7 +18,9 @@ test-actions: links: [] test-brief: Test the ${../if/ident:/name} directive. test-description: null -test-epilogue: null +test-epilogue: | + sc = rtems_barrier_delete( id_local_object ); + T_rsc_success( sc ); test-fixture: null test-header: null test-includes: [] diff --git a/spec/rtems/message/val/ident.yml b/spec/rtems/message/val/ident.yml index 2a1e9ff4..7b24c25b 100644 --- a/spec/rtems/message/val/ident.yml +++ b/spec/rtems/message/val/ident.yml @@ -18,7 +18,9 @@ test-actions: links: [] test-brief: Test the ${../if/ident:/name} directive. test-description: null -test-epilogue: null +test-epilogue: | + sc = rtems_message_queue_delete( id_local_object ); + T_rsc_success( sc ); test-fixture: null test-header: null test-includes: [] diff --git a/spec/rtems/part/val/ident.yml b/spec/rtems/part/val/ident.yml index 4af46bea..c2bcf400 100644 --- a/spec/rtems/part/val/ident.yml +++ b/spec/rtems/part/val/ident.yml @@ -18,7 +18,9 @@ test-actions: links: [] test-brief: Test the ${../if/ident:/name} directive. test-description: null -test-epilogue: null +test-epilogue: | + sc = rtems_partition_delete( id_local_object ); + T_rsc_success( sc ); test-fixture: null test-header: null test-includes: [] diff --git a/spec/rtems/ratemon/val/ident.yml b/spec/rtems/ratemon/val/ident.yml index 37fc0df0..7a73c541 100644 --- a/spec/rtems/ratemon/val/ident.yml +++ b/spec/rtems/ratemon/val/ident.yml @@ -18,7 +18,9 @@ test-actions: links: [] test-brief: Test the ${../if/ident:/name} directive. test-description: null -test-epilogue: null +test-epilogue: | + sc = rtems_rate_monotonic_delete( id_local_object ); + T_rsc_success( sc ); test-fixture: null test-header: null test-includes: [] diff --git a/spec/rtems/sem/val/ident.yml b/spec/rtems/sem/val/ident.yml index 70068b7f..d515aabd 100644 --- a/spec/rtems/sem/val/ident.yml +++ b/spec/rtems/sem/val/ident.yml @@ -18,7 +18,9 @@ test-actions: links: [] test-brief: Test the ${../if/ident:/name} directive. test-description: null -test-epilogue: null +test-epilogue: | + sc = rtems_semaphore_delete( id_local_object ); + T_rsc_success( sc ); test-fixture: null test-header: null test-includes: [] diff --git a/spec/rtems/task/req/ident.yml b/spec/rtems/task/req/ident.yml index e1276cc9..54661205 100644 --- a/spec/rtems/task/req/ident.yml +++ b/spec/rtems/task/req/ident.yml @@ -121,7 +121,16 @@ test-support: | .attributes = TASK_ATTRIBUTES }; test-target: testsuites/validation/tc-task-ident.c -test-teardown: null +test-teardown: + brief: null + code: | + if ( ctx->id_local_object != 0 ) { + rtems_status_code sc; + + sc = rtems_task_delete( ctx->id_local_object ); + T_rsc_success( sc ); + } + description: null text: ${.:text-template} transition-map: - enabled-by: true diff --git a/spec/rtems/timer/val/ident.yml b/spec/rtems/timer/val/ident.yml index dd174cd1..6937af27 100644 --- a/spec/rtems/timer/val/ident.yml +++ b/spec/rtems/timer/val/ident.yml @@ -18,7 +18,9 @@ test-actions: links: [] test-brief: Test the ${../if/ident:/name} directive. test-description: null -test-epilogue: null +test-epilogue: | + sc = rtems_timer_delete( id_local_object ); + T_rsc_success( sc ); test-fixture: null test-header: null test-includes: [] diff --git a/spec/rtems/userext/val/ident.yml b/spec/rtems/userext/val/ident.yml index e25374ed..37be348f 100644 --- a/spec/rtems/userext/val/ident.yml +++ b/spec/rtems/userext/val/ident.yml @@ -18,7 +18,9 @@ test-actions: links: [] test-brief: Test the ${../if/ident:/name} directive. test-description: null -test-epilogue: null +test-epilogue: | + sc = rtems_extension_delete( id_local_object ); + T_rsc_success( sc ); test-fixture: null test-header: null test-includes: [] |