diff options
Diffstat (limited to 'testsuites/ada/sptests/sp02')
-rw-r--r-- | testsuites/ada/sptests/sp02/config.h | 2 | ||||
-rw-r--r-- | testsuites/ada/sptests/sp02/sptest.adb | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/ada/sptests/sp02/config.h b/testsuites/ada/sptests/sp02/config.h index 84ec56ffd2..60f58c1c13 100644 --- a/testsuites/ada/sptests/sp02/config.h +++ b/testsuites/ada/sptests/sp02/config.h @@ -23,6 +23,8 @@ #define CONFIGURE_MAXIMUM_TASKS 4 +#define ADA_TEST_NAME "ADA SP 2" + #include <rtems/confdefs.h> /* end of include file */ diff --git a/testsuites/ada/sptests/sp02/sptest.adb b/testsuites/ada/sptests/sp02/sptest.adb index 45fb4ac5c2..4534d28d2e 100644 --- a/testsuites/ada/sptests/sp02/sptest.adb +++ b/testsuites/ada/sptests/sp02/sptest.adb @@ -37,7 +37,7 @@ package body SPTEST is begin TEXT_IO.NEW_LINE( 2 ); - TEXT_IO.PUT_LINE( "*** TEST 2 ***" ); + TEST_SUPPORT.ADA_TEST_BEGIN; SPTEST.PREEMPT_TASK_NAME := RTEMS.BUILD_NAME( 'P', 'R', 'M', 'T' ); @@ -281,7 +281,7 @@ package body SPTEST is RTEMS.TASKS.WAKE_AFTER( 5 * TEST_SUPPORT.TICKS_PER_SECOND, STATUS ); TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TASK_WAKE_AFTER" ); - TEXT_IO.PUT_LINE( "*** END OF TEST 2 ***" ); + TEST_SUPPORT.ADA_TEST_END; RTEMS.SHUTDOWN_EXECUTIVE( 0 ); end TASK_1; |