diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-11-08 11:16:49 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-11-09 15:47:12 +0100 |
commit | bc7962609d8f12e8f12eb9d27ad6bee79a8aae6d (patch) | |
tree | fec3b1a7f9040708a259f0bcd74e15703b6756a6 | |
parent | aefacc175d43e4f5e92bc0b071ebd723222a7d3e (diff) |
testsuites/validation/tc-userext.c
-rw-r--r-- | testsuites/validation/tc-userext.c | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/testsuites/validation/tc-userext.c b/testsuites/validation/tc-userext.c index 2d4420cab5..252946e026 100644 --- a/testsuites/validation/tc-userext.c +++ b/testsuites/validation/tc-userext.c @@ -163,24 +163,6 @@ * @{ */ -static void RtemsUserextValUserext_Setup( void *ctx ) -{ - SetSelfPriority( PRIO_NORMAL ); -} - -static void RtemsUserextValUserext_Teardown( void *ctx ) -{ - RestoreRunnerPriority(); -} - -static T_fixture RtemsUserextValUserext_Fixture = { - .setup = RtemsUserextValUserext_Setup, - .stop = NULL, - .teardown = RtemsUserextValUserext_Teardown, - .scope = NULL, - .initial_context = NULL -}; - typedef struct { unsigned int counter; rtems_tcb *executing; @@ -535,6 +517,24 @@ static void TerminateWorker( rtems_task_argument arg ) rtems_task_exit(); } +static void RtemsUserextValUserext_Setup( void *ctx ) +{ + SetSelfPriority( PRIO_NORMAL ); +} + +static void RtemsUserextValUserext_Teardown( void *ctx ) +{ + RestoreRunnerPriority(); +} + +static T_fixture RtemsUserextValUserext_Fixture = { + .setup = RtemsUserextValUserext_Setup, + .stop = NULL, + .teardown = RtemsUserextValUserext_Teardown, + .scope = NULL, + .initial_context = NULL +}; + /** * @brief Create five dynamic extensions. Switch to a started thread. Delete * three dynamic extension during the thread begin invocation. Clean up the |