diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-10 16:31:43 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-17 09:17:36 +0100 |
commit | 9391f6d6637c752046cdfd89ae2eeea147496e44 (patch) | |
tree | fe6ad09c222cdf0489414d4a5a644b10845de333 /testsuites/samples/iostream/init.cc | |
parent | sapi: Add <rtems/test.h> (diff) | |
download | rtems-9391f6d6637c752046cdfd89ae2eeea147496e44.tar.bz2 |
tests/samples: Use <rtems/test.h>
Diffstat (limited to 'testsuites/samples/iostream/init.cc')
-rw-r--r-- | testsuites/samples/iostream/init.cc | 6 |
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 ); } |