diff options
Diffstat (limited to 'testsuites/samples/cdtest/main.cc')
-rw-r--r-- | testsuites/samples/cdtest/main.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/testsuites/samples/cdtest/main.cc b/testsuites/samples/cdtest/main.cc index 5edfc7020d..23a98fc26f 100644 --- a/testsuites/samples/cdtest/main.cc +++ b/testsuites/samples/cdtest/main.cc @@ -23,6 +23,7 @@ */ #include <rtems.h> +#include <rtems/test.h> #include <cstdio> #include <cstdlib> @@ -31,6 +32,8 @@ #include <iostream> #endif +const char rtems_test_name[] = "CONSTRUCTOR/DESTRUCTOR"; + extern "C" { #include <tmacros.h> @@ -176,12 +179,11 @@ rtems_task main_task( rtems_task_argument ) { - printf( "\n\n*** CONSTRUCTOR/DESTRUCTOR TEST ***\n" ); + TEST_BEGIN(); cdtest(); - printf( "*** END OF CONSTRUCTOR/DESTRUCTOR TEST ***\n\n\n" ); - + TEST_END(); printf( "*** TESTING C++ EXCEPTIONS ***\n\n" ); |