mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 06:08:20 +00:00
samples/iostream: Produce proper begin/end message
Print the full test information.
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user