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-11 17:05:09 +0100 |
commit | 1784e84996688da0974fb1064c7197b32fb2c34b (patch) | |
tree | 29ca4390dce263a23f320d30dd6483168ce42206 | |
parent | 5fcaa58ec62affe89bf76e5b73f0992b3cca78db (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 |