summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-11-11 11:02:54 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-11-11 17:05:10 +0100
commit3f17826e35abaffdd1c3173673d07589eb572177 (patch)
treee8f70c50f2a3dce7d33bbe2f0d093577b8143dda
parentbb31cf2455be0cef55d71871a10033e85b141db4 (diff)
tr-model-events
-rw-r--r--testsuites/validation/tr-model-events-mgr-0.c2
-rw-r--r--testsuites/validation/tr-model-events-mgr-1.c2
-rw-r--r--testsuites/validation/tr-model-events-mgr-2.c2
-rw-r--r--testsuites/validation/tr-model-events-mgr-3.c2
-rw-r--r--testsuites/validation/tr-model-events-mgr-4.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/testsuites/validation/tr-model-events-mgr-0.c b/testsuites/validation/tr-model-events-mgr-0.c
index 63f0f76f85..43548a8381 100644
--- a/testsuites/validation/tr-model-events-mgr-0.c
+++ b/testsuites/validation/tr-model-events-mgr-0.c
@@ -295,7 +295,7 @@ void RtemsModelEventsMgr_Run0(
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-model-events-mgr-1.c b/testsuites/validation/tr-model-events-mgr-1.c
index aadbeff5f1..df01fa0b6c 100644
--- a/testsuites/validation/tr-model-events-mgr-1.c
+++ b/testsuites/validation/tr-model-events-mgr-1.c
@@ -305,7 +305,7 @@ void RtemsModelEventsMgr_Run1(
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-model-events-mgr-2.c b/testsuites/validation/tr-model-events-mgr-2.c
index e94fa30fd5..d761bbd8f5 100644
--- a/testsuites/validation/tr-model-events-mgr-2.c
+++ b/testsuites/validation/tr-model-events-mgr-2.c
@@ -316,7 +316,7 @@ void RtemsModelEventsMgr_Run2(
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-model-events-mgr-3.c b/testsuites/validation/tr-model-events-mgr-3.c
index 4e2bd45bea..c7437801ba 100644
--- a/testsuites/validation/tr-model-events-mgr-3.c
+++ b/testsuites/validation/tr-model-events-mgr-3.c
@@ -312,7 +312,7 @@ void RtemsModelEventsMgr_Run3(
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-model-events-mgr-4.c b/testsuites/validation/tr-model-events-mgr-4.c
index 1e0c2fe009..2c6b1f7eba 100644
--- a/testsuites/validation/tr-model-events-mgr-4.c
+++ b/testsuites/validation/tr-model-events-mgr-4.c
@@ -312,7 +312,7 @@ void RtemsModelEventsMgr_Run4(
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 );