summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-11-08 11:16:49 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-11-11 17:05:09 +0100
commita5785fafc90aca57b289904a849dc84e63e94f80 (patch)
treee09ad16e31fd50b3c2c7dd4b0839eb3d5eb68579
parentd8456484ab0cc774848b830ba0086eedcaa15e7b (diff)
testsuites/validation/tc-score-thread.c
-rw-r--r--testsuites/validation/tc-score-thread.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/testsuites/validation/tc-score-thread.c b/testsuites/validation/tc-score-thread.c
index 67ce561f55..ed90de9df4 100644
--- a/testsuites/validation/tc-score-thread.c
+++ b/testsuites/validation/tc-score-thread.c
@@ -107,14 +107,6 @@ typedef struct {
static ScoreThreadValThread_Context
ScoreThreadValThread_Instance;
-static T_fixture ScoreThreadValThread_Fixture = {
- .setup = NULL,
- .stop = NULL,
- .teardown = NULL,
- .scope = NULL,
- .initial_context = &ScoreThreadValThread_Instance
-};
-
typedef ScoreThreadValThread_Context Context;
static void TaskTerminate( rtems_tcb *executing )
@@ -142,6 +134,14 @@ static void KillerTask( rtems_task_argument arg )
DeleteTask( ctx->worker_id );
}
+static T_fixture ScoreThreadValThread_Fixture = {
+ .setup = NULL,
+ .stop = NULL,
+ .teardown = NULL,
+ .scope = NULL,
+ .initial_context = &ScoreThreadValThread_Instance
+};
+
/**
* @brief Create an extension set with a thread terminate extension which
* deletes the killer task if it is invoked for the worker task. Create and