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-09 15:47:12 +0100
commitf10292441e78af8e8fae309e9ff534fa1aff79cb (patch)
treea66ef9705f79f4ec60ee5cf69953096d09f80c28
parent34140990c5df19c5d64888bd39461419b2cf7a9b (diff)
testsuites/validation/tc-score-thread-smp-one-cpu.c
-rw-r--r--testsuites/validation/tc-score-thread-smp-one-cpu.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/testsuites/validation/tc-score-thread-smp-one-cpu.c b/testsuites/validation/tc-score-thread-smp-one-cpu.c
index c87a06a267..3375f27e1d 100644
--- a/testsuites/validation/tc-score-thread-smp-one-cpu.c
+++ b/testsuites/validation/tc-score-thread-smp-one-cpu.c
@@ -98,14 +98,6 @@ typedef struct {
static ScoreThreadValSmpOneCpu_Context
ScoreThreadValSmpOneCpu_Instance;
-static T_fixture ScoreThreadValSmpOneCpu_Fixture = {
- .setup = NULL,
- .stop = NULL,
- .teardown = NULL,
- .scope = NULL,
- .initial_context = &ScoreThreadValSmpOneCpu_Instance
-};
-
typedef ScoreThreadValSmpOneCpu_Context Context;
typedef enum {
@@ -129,6 +121,14 @@ static void WorkerTask( rtems_task_argument arg )
}
}
+static T_fixture ScoreThreadValSmpOneCpu_Fixture = {
+ .setup = NULL,
+ .stop = NULL,
+ .teardown = NULL,
+ .scope = NULL,
+ .initial_context = &ScoreThreadValSmpOneCpu_Instance
+};
+
/**
* @brief Create one worker thread to validate the thread pinning on only one
* processor using a uniprocessor scheduler.