summaryrefslogtreecommitdiffstats
path: root/testsuites/samples/iostream/init.cc
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/samples/iostream/init.cc')
-rw-r--r--testsuites/samples/iostream/init.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/samples/iostream/init.cc b/testsuites/samples/iostream/init.cc
index c3dbec403e..770d26f0c3 100644
--- a/testsuites/samples/iostream/init.cc
+++ b/testsuites/samples/iostream/init.cc
@@ -29,6 +29,8 @@
#include <stdlib.h>
+const char rtems_test_name[] = "HELLO WORLD";
+
rtems_task Init(
rtems_task_argument ignored
)
@@ -36,9 +38,9 @@ rtems_task Init(
#if BSP_SMALL_MEMORY
printf ("NO STDC++. MEMORY TOO SMALL");
#else
- std::cout << "\n\n*** HELLO WORLD TEST ***" << std::endl;
+ std::cout << "\n\n*** " << rtems_test_name << " TEST ***" << std::endl;
std::cout << "Hello World" << std::endl;
- std::cout << "*** END OF HELLO WORLD TEST ***" << std::endl;
+ std::cout << "*** END OF " << rtems_test_name << " TEST ***" << std::endl;
#endif
exit( 0 );
}