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/smp08/tasks.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 '')
-rw-r--r-- | testsuites/smptests/smp08/tasks.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/smptests/smp08/tasks.c b/testsuites/smptests/smp08/tasks.c index b71f437027..446c0d11da 100644 --- a/testsuites/smptests/smp08/tasks.c +++ b/testsuites/smptests/smp08/tasks.c @@ -54,8 +54,12 @@ rtems_task Test_task( status = rtems_clock_get_tod( &time ); rtems_test_assert( status == RTEMS_SUCCESSFUL ); if ( time.second >= 35 ) { - TEST_END(); - rtems_test_exit( 0 ); + if ( task_index == 1 ) { + TEST_END(); + rtems_test_exit( 0 ); + } else { + rtems_task_exit(); + } } PrintTaskInfo( p, &time ); |