diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-08-04 09:04:40 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-08-19 11:29:34 +0200 |
commit | e3e1de716d95b2e14a077d57f38ef77b3eb73ac8 (patch) | |
tree | 6ba0ab90921b6fe444439417257b03a60af576b4 /spec | |
parent | validation: Add test early preparation (diff) | |
download | rtems-central-e3e1de716d95b2e14a077d57f38ef77b3eb73ac8.tar.bz2 |
validation: Add test cleanup
Diffstat (limited to 'spec')
-rw-r--r-- | spec/req/rtems/ident-local.yml | 1 | ||||
-rw-r--r-- | spec/req/rtems/ident.yml | 1 | ||||
-rw-r--r-- | spec/req/rtems/tasks/ident.yml | 1 | ||||
-rw-r--r-- | spec/spec/requirement-action.yml | 7 |
4 files changed, 10 insertions, 0 deletions
diff --git a/spec/req/rtems/ident-local.yml b/spec/req/rtems/ident-local.yml index 5df88193..a6ef3a80 100644 --- a/spec/req/rtems/ident-local.yml +++ b/spec/req/rtems/ident-local.yml @@ -89,6 +89,7 @@ skip-reasons: {} test-action: | ctx->status = ( *ctx->action )( ctx->name, ctx->id ); test-brief: null +test-cleanup: null test-context: - brief: null description: null diff --git a/spec/req/rtems/ident.yml b/spec/req/rtems/ident.yml index b95fcef3..978bd5f3 100644 --- a/spec/req/rtems/ident.yml +++ b/spec/req/rtems/ident.yml @@ -142,6 +142,7 @@ skip-reasons: {} test-action: | ctx->status = ( *ctx->action )( ctx->name, ctx->node, ctx->id ); test-brief: null +test-cleanup: null test-context: - brief: null description: null diff --git a/spec/req/rtems/tasks/ident.yml b/spec/req/rtems/tasks/ident.yml index 61e26aa3..c9b4c1f8 100644 --- a/spec/req/rtems/tasks/ident.yml +++ b/spec/req/rtems/tasks/ident.yml @@ -56,6 +56,7 @@ test-action: | ); } test-brief: null +test-cleanup: null test-context: - brief: null description: null diff --git a/spec/spec/requirement-action.yml b/spec/spec/requirement-action.yml index aacef508..093ef671 100644 --- a/spec/spec/requirement-action.yml +++ b/spec/spec/requirement-action.yml @@ -85,6 +85,7 @@ spec-example: | test-action: | /* Call the function of the action */ test-brief: null + test-cleanup: null test-context: - brief: null description: null @@ -151,6 +152,12 @@ spec-info: If the value is present, then it shall be the test case brief description. spec-type: optional-str + test-cleanup: + description: | + If the value is present, then it shall be the test cleanup code. The + code is placed in the test action loop body after the test + post-condition checks. + spec-type: optional-str test-context: description: null spec-type: requirement-action-test-context-list |