From ca05aa510488ed3c65704738256b9d16fded3a3a Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 9 Apr 2021 16:02:26 +0200 Subject: Revert "FIXME run only specified test case" This reverts commit 780e7d67fd09c13d3be96045d9f970ca116f6713. --- testsuites/validation/ts-default.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/testsuites/validation/ts-default.h b/testsuites/validation/ts-default.h index 227dbb679e..089fe0c0ad 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 ) -- cgit v1.2.3