diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-09-03 18:08:42 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-09-03 20:47:44 +0200 |
commit | af0c9adf872cde70520e32305bd223a0ea878efd (patch) | |
tree | 5a90d991fc629b21fc6e00e6f9e9dbe6d7bf4d6c | |
parent | 143010f19a9f00d974b9c3918f40c8c1f4d470e6 (diff) |
Revert "FIXME run only specified test case"
This reverts commit 440944f638769b973ca021609d60873885711b27.
-rw-r--r-- | testsuites/validation/ts-default.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/testsuites/validation/ts-default.h b/testsuites/validation/ts-default.h index b12d66b5b9..3fe5b915de 100644 --- a/testsuites/validation/ts-default.h +++ b/testsuites/validation/ts-default.h @@ -99,7 +99,7 @@ static union { static void Init( rtems_task_argument arg ) { - rtems_fatal_code exit_code; + int exit_code; (void) arg; @@ -112,17 +112,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("CValC"); + exit_code = T_main( &test_config ); - if ( T_run_finalize() ) { + if ( exit_code == 0 ) { rtems_test_end( rtems_test_name ); - exit_code = 0; - } else { - exit_code = 1; } - rtems_fatal( RTEMS_FATAL_SOURCE_EXIT, exit_code ); + rtems_fatal( RTEMS_FATAL_SOURCE_EXIT, (uint32_t) exit_code ); } static void *task_stack_allocate( size_t size ) |