From 3d13ab866e6789fb624ff480bc205ba2ff1d7790 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 9 Aug 2023 10:36:24 +0200 Subject: samples/iostream: Produce proper begin/end message Print the full test information. --- testsuites/samples/iostream/init.cc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'testsuites/samples/iostream/init.cc') 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 +#include + 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 ); } -- cgit v1.2.3