diff options
author | Chris Johns <chrisj@rtems.org> | 2017-11-08 08:25:36 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2017-11-11 16:14:59 +1100 |
commit | bcd0c06c9be41f68d41c2fc1ed9408410b9084a3 (patch) | |
tree | a1e3900176bfc6110ca284e2d8bc0c1da563ad29 /testsuites/samples/cdtest/main.cc | |
parent | mvme162: Fix errors tripped by transition to using polled IO for tests (diff) | |
download | rtems-bcd0c06c9be41f68d41c2fc1ed9408410b9084a3.tar.bz2 |
tests: Use rtems_test_begin and rtems_test_end.
Add a tests enum and move all test banner test to the library in libmisc.
Update #3199.
Diffstat (limited to 'testsuites/samples/cdtest/main.cc')
-rw-r--r-- | testsuites/samples/cdtest/main.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/samples/cdtest/main.cc b/testsuites/samples/cdtest/main.cc index 33e6fd2edd..7aeb884354 100644 --- a/testsuites/samples/cdtest/main.cc +++ b/testsuites/samples/cdtest/main.cc @@ -47,14 +47,14 @@ static int num_inst = 0; static void check_begin_of_test(void) { if ( num_inst == 0 ) { - printf(TEST_BEGIN_STRING); + TEST_BEGIN(); } } static void check_end_of_test(void) { if ( num_inst == 0 ) { - printk(TEST_END_STRING); + TEST_END(); } } |