summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-11-12 11:42:04 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-11-12 11:42:04 +0100
commit941a69ec3dae167525d8e61c92e1ea5329d52f22 (patch)
treec3457b4e1bd6bf6da7f3cb3c9201e8940ff02af7
parentcc837e88dad267c2c585c6ee9412b08b14ce5150 (diff)
tr-event-mgr-model: Update due to API changes
-rw-r--r--testsuites/validation/tr-event-mgr-model-5.c2
-rw-r--r--testsuites/validation/tr-event-mgr-model-6.c2
-rw-r--r--testsuites/validation/tr-event-mgr-model-7.c2
-rw-r--r--testsuites/validation/tr-event-mgr-model-8.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/testsuites/validation/tr-event-mgr-model-5.c b/testsuites/validation/tr-event-mgr-model-5.c
index 917a3b241d..3469dabe9f 100644
--- a/testsuites/validation/tr-event-mgr-model-5.c
+++ b/testsuites/validation/tr-event-mgr-model-5.c
@@ -344,7 +344,7 @@ void RtemsModelEventsMgr_Run5(
ctx->unsatisfied_pending = 0xffffffff;
memset( &ctx->thread_switch_log, 0, sizeof( ctx->thread_switch_log ) );
T_eq_u32( GetPending( ctx ), 0 );
- _Thread_Wait_flags_set( ctx->runner_thread, THREAD_WAIT_FLAGS_INITIAL );
+ _Thread_Wait_flags_set( ctx->runner_thread, THREAD_WAIT_STATE_READY );
TestSegment0( ctx );
diff --git a/testsuites/validation/tr-event-mgr-model-6.c b/testsuites/validation/tr-event-mgr-model-6.c
index 349d60188b..004becb9e7 100644
--- a/testsuites/validation/tr-event-mgr-model-6.c
+++ b/testsuites/validation/tr-event-mgr-model-6.c
@@ -366,7 +366,7 @@ void RtemsModelEventsMgr_Run6(
ctx->unsatisfied_pending = 0xffffffff;
memset( &ctx->thread_switch_log, 0, sizeof( ctx->thread_switch_log ) );
T_eq_u32( GetPending( ctx ), 0 );
- _Thread_Wait_flags_set( ctx->runner_thread, THREAD_WAIT_FLAGS_INITIAL );
+ _Thread_Wait_flags_set( ctx->runner_thread, THREAD_WAIT_STATE_READY );
TestSegment0( ctx );
diff --git a/testsuites/validation/tr-event-mgr-model-7.c b/testsuites/validation/tr-event-mgr-model-7.c
index 77e71589f7..879d7f0985 100644
--- a/testsuites/validation/tr-event-mgr-model-7.c
+++ b/testsuites/validation/tr-event-mgr-model-7.c
@@ -371,7 +371,7 @@ void RtemsModelEventsMgr_Run7(
ctx->unsatisfied_pending = 0xffffffff;
memset( &ctx->thread_switch_log, 0, sizeof( ctx->thread_switch_log ) );
T_eq_u32( GetPending( ctx ), 0 );
- _Thread_Wait_flags_set( ctx->runner_thread, THREAD_WAIT_FLAGS_INITIAL );
+ _Thread_Wait_flags_set( ctx->runner_thread, THREAD_WAIT_STATE_READY );
TestSegment0( ctx );
diff --git a/testsuites/validation/tr-event-mgr-model-8.c b/testsuites/validation/tr-event-mgr-model-8.c
index 782d7c0d08..d54a4215b2 100644
--- a/testsuites/validation/tr-event-mgr-model-8.c
+++ b/testsuites/validation/tr-event-mgr-model-8.c
@@ -358,7 +358,7 @@ void RtemsModelEventsMgr_Run8(
ctx->unsatisfied_pending = 0xffffffff;
memset( &ctx->thread_switch_log, 0, sizeof( ctx->thread_switch_log ) );
T_eq_u32( GetPending( ctx ), 0 );
- _Thread_Wait_flags_set( ctx->runner_thread, THREAD_WAIT_FLAGS_INITIAL );
+ _Thread_Wait_flags_set( ctx->runner_thread, THREAD_WAIT_STATE_READY );
TestSegment0( ctx );