diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-09-18 10:12:48 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-09-18 10:22:07 +0200 |
commit | a1c17c58ca61eb898a5daf928eb3e9e40cf1a778 (patch) | |
tree | b3074f17ba69dfc9fd8b47d57e89e8ca3d22db09 /spec/rtems/task/req/ident.yml | |
parent | interface: Register license of header file (diff) | |
download | rtems-central-a1c17c58ca61eb898a5daf928eb3e9e40cf1a778.tar.bz2 |
spec: Delete resources in validation tests
Diffstat (limited to 'spec/rtems/task/req/ident.yml')
-rw-r--r-- | spec/rtems/task/req/ident.yml | 11 |
1 files changed, 10 insertions, 1 deletions
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 |