Re: [PATCH] tests: Use rtems_test_begin and rtems_test_end.

2017-11-08 Thread Chris Johns
On 08/11/2017 17:12, Sebastian Huber wrote: > My intention for suggesting the enum was to get rid of the uniqueness test and > change rtems-test-check and rtems-test-check.py accordingly. There are loops > in > these scripts, e.g. > > for test in tests: > if mode == 'exclude': > if 'e

Re: [PATCH] tests: Use rtems_test_begin and rtems_test_end.

2017-11-07 Thread Sebastian Huber
On 07/11/17 22:27, Chris Johns wrote: +typedef enum +{ + RTEMS_TEST_STATE_PASS, + RTEMS_TEST_STATE_FAIL, + RTEMS_TEST_STATE_USER_INPUT, + RTEMS_TEST_STATE_INDETERMINATE, + RTEMS_TEST_STATE_BENCHMARK +} RTEMS_TEST_STATE; -/** - * @brief End of test message format string. - */ -#define TES

[PATCH] tests: Use rtems_test_begin and rtems_test_end.

2017-11-07 Thread Chris Johns
Add a tests enum and move all test banner test to the library in libmisc. Update #3199. --- cpukit/libmisc/testsupport/test.h | 39 +--- cpukit/libmisc/testsupport/testbeginend.c | 94 +++-- testsuites/samples/cdtest/main.cc | 4 +- testsuite