diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-04-09 16:02:26 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-04-13 09:35:31 +0200 |
commit | 5ead28877c9fc29076b2d1bf80127f23c68ed738 (patch) | |
tree | 9f0fd182de44bdc41ade0a624940d987e99568b7 | |
parent | bdc2aa2d4bf35eda65c694f9d26c1735e0e12ba1 (diff) |
Revert "FIXME run only specified test case"
This reverts commit 780e7d67fd09c13d3be96045d9f970ca116f6713.
-rw-r--r-- | testsuites/validation/ts-default.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/testsuites/validation/ts-default.h b/testsuites/validation/ts-default.h index 8986e0941d..1deb616426 100644 --- a/testsuites/validation/ts-default.h +++ b/testsuites/validation/ts-default.h @@ -96,6 +96,8 @@ static union { static void Init( rtems_task_argument arg ) { + int exit_code; + (void) arg; rtems_chain_initialize( @@ -107,14 +109,13 @@ static void Init( rtems_task_argument arg ) rtems_test_begin( rtems_test_name, TEST_STATE ); T_register(); - T_run_initialize( &test_config ); - T_run_by_name( "RtemsSemReqObtain" ); + exit_code = T_main( &test_config ); - if ( T_run_finalize() ) { + if ( exit_code == 0 ) { rtems_test_end( rtems_test_name ); } - rtems_fatal( RTEMS_FATAL_SOURCE_EXIT, 0 ); + rtems_fatal( RTEMS_FATAL_SOURCE_EXIT, (uint32_t) exit_code ); } static void *task_stack_allocate( size_t size ) |