diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-12-01 08:51:17 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-12-01 09:52:41 +0100 |
commit | f6c9334d9b78d8a9791b2ba3ab401c43fb6eb39e (patch) | |
tree | 2a06c91d9977552a5a42292fb9cbd8094b7f6485 /testsuites/ada/sptests/sp14 | |
parent | ada: Delete superfluous CONFIGURE_SPTEST (diff) | |
download | rtems-f6c9334d9b78d8a9791b2ba3ab401c43fb6eb39e.tar.bz2 |
ada: Add standard test begin/end message
Diffstat (limited to 'testsuites/ada/sptests/sp14')
-rw-r--r-- | testsuites/ada/sptests/sp14/config.h | 2 | ||||
-rw-r--r-- | testsuites/ada/sptests/sp14/sptest.adb | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/ada/sptests/sp14/config.h b/testsuites/ada/sptests/sp14/config.h index 4a0cc4e0f2..2a53074581 100644 --- a/testsuites/ada/sptests/sp14/config.h +++ b/testsuites/ada/sptests/sp14/config.h @@ -17,6 +17,8 @@ #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER #define CONFIGURE_MAXIMUM_TASKS 3 + +#define ADA_TEST_NAME "ADA SP 14" #define CONFIGURE_MAXIMUM_TIMERS 1 #define CONFIGURE_TICKS_PER_TIMESLICE 100 diff --git a/testsuites/ada/sptests/sp14/sptest.adb b/testsuites/ada/sptests/sp14/sptest.adb index 3b74c9f256..eb9ff3c34a 100644 --- a/testsuites/ada/sptests/sp14/sptest.adb +++ b/testsuites/ada/sptests/sp14/sptest.adb @@ -40,7 +40,7 @@ package body SPTEST is begin TEXT_IO.NEW_LINE( 2 ); - TEXT_IO.PUT_LINE( "*** TEST 14 ***" ); + TEST_SUPPORT.ADA_TEST_BEGIN; SPTEST.TASK_NAME( 1 ) := RTEMS.BUILD_NAME( 'T', 'A', '1', ' ' ); SPTEST.TASK_NAME( 2 ) := RTEMS.BUILD_NAME( 'T', 'A', '2', ' ' ); @@ -277,7 +277,7 @@ package body SPTEST is RTEMS.TASKS.WAKE_AFTER( RTEMS.YIELD_PROCESSOR, STATUS ); TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TASK_WAKE_AFTER YIELD" ); - TEXT_IO.PUT_LINE( "*** END OF TEST 14 ***" ); + TEST_SUPPORT.ADA_TEST_END; RTEMS.SHUTDOWN_EXECUTIVE( 0 ); end TASK_2; |