diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2023-05-23 14:19:13 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2023-05-23 14:19:13 +0200 |
commit | 3c1e264db6bd7a882da2c2955d0a5cfd39ecc46d (patch) | |
tree | ec189ac147c5a16233b7cc37a3a1a9fe648db909 /testsuites/smptests/smp07/init.c | |
parent | libdl: Add support for LDST128_ABS_LO12_NC (diff) | |
download | rtems-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.c | 4 |
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(); } |