summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smp07/init.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2023-05-23 14:19:13 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2023-05-23 14:19:13 +0200
commit3c1e264db6bd7a882da2c2955d0a5cfd39ecc46d (patch)
treeec189ac147c5a16233b7cc37a3a1a9fe648db909 /testsuites/smptests/smp07/init.c
parentlibdl: Add support for LDST128_ABS_LO12_NC (diff)
downloadrtems-3c1e264db6bd7a882da2c2955d0a5cfd39ecc46d.tar.bz2
smptests: Print proper end of test message
Make sure that the end of test message is not mixed up with other test output.
Diffstat (limited to 'testsuites/smptests/smp07/init.c')
-rw-r--r--testsuites/smptests/smp07/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/smptests/smp07/init.c b/testsuites/smptests/smp07/init.c
index 3e1a852bd4..7066720a47 100644
--- a/testsuites/smptests/smp07/init.c
+++ b/testsuites/smptests/smp07/init.c
@@ -78,8 +78,6 @@ rtems_task Test_task(
if ( !TSRFired )
locked_printf( "*** ERROR TSR DID NOT FIRE BUT TEST TASK AWAKE***" );
- TaskRan = true;
-
/* Print that the task is up and running. */
locked_printf(
" CPU %" PRIu32 " running Task %s after semaphore release\n",
@@ -87,6 +85,8 @@ rtems_task Test_task(
name
);
+ TaskRan = true;
+
rtems_task_exit();
}