summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-11-08 11:16:48 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-11-09 15:47:12 +0100
commit1148024354cce428ba5a8b69978d165032f57d8d (patch)
tree62acce941736ec63eebb1bef0f554da08319e822
parentf29a8db20dbdb34abf434b157ac7efba0b5a73c4 (diff)
testsuites/validation/tc-score-fatal.c
-rw-r--r--testsuites/validation/tc-score-fatal.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/testsuites/validation/tc-score-fatal.c b/testsuites/validation/tc-score-fatal.c
index 51c2f87dfc..993676d186 100644
--- a/testsuites/validation/tc-score-fatal.c
+++ b/testsuites/validation/tc-score-fatal.c
@@ -112,14 +112,6 @@ typedef struct {
static ScoreValFatal_Context
ScoreValFatal_Instance;
-static T_fixture ScoreValFatal_Fixture = {
- .setup = NULL,
- .stop = NULL,
- .teardown = NULL,
- .scope = NULL,
- .initial_context = &ScoreValFatal_Instance
-};
-
typedef ScoreValFatal_Context Context;
static unsigned int GetFatalCounter( const Context *ctx )
@@ -239,6 +231,14 @@ static void ThreadQueueDeadlockTask( rtems_task_argument arg )
rtems_task_exit();
}
+static T_fixture ScoreValFatal_Fixture = {
+ .setup = NULL,
+ .stop = NULL,
+ .teardown = NULL,
+ .scope = NULL,
+ .initial_context = &ScoreValFatal_Instance
+};
+
/**
* @brief Construct a task with a task body which returns. Check that the
* right fatal error occurs.