samples/iostream: Produce proper begin/end message

Print the full test information.
This commit is contained in:
Sebastian Huber
2023-08-09 10:36:24 +02:00
parent 62e39a8e47
commit 3d13ab866e

View File

@@ -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 );
}