From f6c9334d9b78d8a9791b2ba3ab401c43fb6eb39e Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 1 Dec 2017 08:51:17 +0100 Subject: ada: Add standard test begin/end message --- testsuites/ada/sptests/sp07/config.h | 2 ++ testsuites/ada/sptests/sp07/sptest.adb | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'testsuites/ada/sptests/sp07') diff --git a/testsuites/ada/sptests/sp07/config.h b/testsuites/ada/sptests/sp07/config.h index 4d2ef9f762..ffdac2d224 100644 --- a/testsuites/ada/sptests/sp07/config.h +++ b/testsuites/ada/sptests/sp07/config.h @@ -26,6 +26,8 @@ #define CONFIGURE_MAXIMUM_TASKS 5 +#define ADA_TEST_NAME "ADA SP 7" + #include /* end of include file */ diff --git a/testsuites/ada/sptests/sp07/sptest.adb b/testsuites/ada/sptests/sp07/sptest.adb index d55aa73bf8..e008336065 100644 --- a/testsuites/ada/sptests/sp07/sptest.adb +++ b/testsuites/ada/sptests/sp07/sptest.adb @@ -131,7 +131,7 @@ package body SPTEST is begin TEXT_IO.NEW_LINE( 2 ); - TEXT_IO.PUT_LINE( "*** TEST 7 ***" ); + TEST_SUPPORT.ADA_TEST_BEGIN; SPTEST.EXTENSION_NAME( 1 ) := RTEMS.BUILD_NAME( 'E', 'X', 'T', ' ' ); @@ -419,7 +419,7 @@ package body SPTEST is TEXT_IO.PUT_LINE( "TASK_EXITTED - user extension invoked correctly" ); end if; - TEXT_IO.PUT_LINE( "*** END OF TEST 7 ***" ); + TEST_SUPPORT.ADA_TEST_END; RTEMS.SHUTDOWN_EXECUTIVE( 0 ); end TASK_EXIT_EXTENSION; -- cgit v1.2.3