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/sp01 | |
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/sp01')
-rw-r--r-- | testsuites/ada/sptests/sp01/config.h | 2 | ||||
-rw-r--r-- | testsuites/ada/sptests/sp01/sptest.adb | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/ada/sptests/sp01/config.h b/testsuites/ada/sptests/sp01/config.h index fc9f99dc68..ee9e0fbde5 100644 --- a/testsuites/ada/sptests/sp01/config.h +++ b/testsuites/ada/sptests/sp01/config.h @@ -23,6 +23,8 @@ #define CONFIGURE_MAXIMUM_TASKS 4 +#define ADA_TEST_NAME "ADA SP 1" + #include <rtems/confdefs.h> /* end of include file */ diff --git a/testsuites/ada/sptests/sp01/sptest.adb b/testsuites/ada/sptests/sp01/sptest.adb index 46e48e9b04..eb7497bd9d 100644 --- a/testsuites/ada/sptests/sp01/sptest.adb +++ b/testsuites/ada/sptests/sp01/sptest.adb @@ -38,7 +38,7 @@ package body SPTEST is begin TEXT_IO.NEW_LINE( 2 ); - TEXT_IO.PUT_LINE( "*** TEST 1 ***" ); + TEST_SUPPORT.ADA_TEST_BEGIN; TIME := ( 1988, 12, 31, 9, 0, 0, 0 ); @@ -133,7 +133,7 @@ package body SPTEST is TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "CLOCK_GET_TOD" ); if TIME.SECOND >= 35 then - TEXT_IO.PUT_LINE( "*** END OF TEST 1 ***" ); + TEST_SUPPORT.ADA_TEST_END; RTEMS.SHUTDOWN_EXECUTIVE( 0 ); end if; |