diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-05-12 07:11:04 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-05-14 08:27:25 +0200 |
commit | 0b348f44059278dd8ab74c46bab65eb46b3d1aec (patch) | |
tree | fac2d205f8fe8e8eb1b1a9e80f495be5fdb69bf3 /spec/rtems/sem/req/set-priority.yml | |
parent | validation: Let skip reasons overwrite (diff) | |
download | rtems-central-0b348f44059278dd8ab74c46bab65eb46b3d1aec.tar.bz2 |
spec: Move INVALID_ID to tx-support.h
Diffstat (limited to 'spec/rtems/sem/req/set-priority.yml')
-rw-r--r-- | spec/rtems/sem/req/set-priority.yml | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/spec/rtems/sem/req/set-priority.yml b/spec/rtems/sem/req/set-priority.yml index 8f122e49..f019d322 100644 --- a/spec/rtems/sem/req/set-priority.yml +++ b/spec/rtems/sem/req/set-priority.yml @@ -124,7 +124,7 @@ post-conditions: is set by the ${../if/set-priority:/name} call. - name: Nop test-code: | - T_eq_u32( ctx->old_priority_value, INVALID_PRIO ); + T_eq_u32( ctx->old_priority_value, PRIO_INVALID ); text: | Objects referenced by the ${../if/set-priority:/params[3]/name} parameter in past calls to ${../if/set-priority:/name} shall not be accessed by the @@ -233,7 +233,7 @@ pre-conditions: parameter. - name: Invalid test-code: | - ctx->new_priority = INVALID_PRIO; + ctx->new_priority = PRIO_INVALID; text: | While the ${../if/set-priority:/params[2]/name} parameter is invalid with respect to the scheduler specified by the @@ -371,10 +371,10 @@ test-includes: - rtems.h - string.h test-local-includes: -- tx-support.h - ts-config.h +- tx-support.h test-prepare: | - ctx->old_priority_value = INVALID_PRIO; + ctx->old_priority_value = PRIO_INVALID; ctx->count = 1; ctx->attribute_set = RTEMS_PRIORITY; ctx->valid_id = true; @@ -403,10 +403,6 @@ test-stop: null test-support: | #define NAME rtems_build_name( 'T', 'E', 'S', 'T' ) - #define INVALID_ID 0xffffffff - - #define INVALID_PRIO 0xffffffff - typedef RtemsSemReqSetPriority_Context Context; static void ReleaseSemaphore( const Context *ctx ) |