diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2023-08-09 10:36:24 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2023-08-09 17:38:43 +0200 |
commit | 3d13ab866e6789fb624ff480bc205ba2ff1d7790 (patch) | |
tree | aa15a6ef664cbf1f8aa8c115da5a6e5e2e7c8f20 /testsuites | |
parent | 62e39a8e47a839149efe4a33eb4dbcf9a9a36a4d (diff) |
samples/iostream: Produce proper begin/end message
Print the full test information.
Diffstat (limited to 'testsuites')
-rw-r--r-- | testsuites/samples/iostream/init.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/testsuites/samples/iostream/init.cc b/testsuites/samples/iostream/init.cc index 22d973019b..ddd38a9d15 100644 --- a/testsuites/samples/iostream/init.cc +++ b/testsuites/samples/iostream/init.cc @@ -44,16 +44,17 @@ #include <stdlib.h> +#include <tmacros.h> + const char rtems_test_name[] = "IOSTREAM"; rtems_task Init( rtems_task_argument ignored ) { - std::cout << std::endl << std::endl - << "*** BEGIN OF TEST " << rtems_test_name << " ***" << std::endl; + TEST_BEGIN(); std::cout << "Hello World" << std::endl; - std::cout << "*** END OF TEST " << rtems_test_name << " ***" << std::endl; - exit( 0 ); + TEST_END(); + rtems_test_exit( 0 ); } |