summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-03-22 08:31:15 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-04-12 08:07:17 +0200
commitf804d00c9b1867b6769a094e783468d504500073 (patch)
treed7e417a690463e7979fdab3a25cc5c68259e3f46
parentea207a6ba3907c9c2a16370aafa1401f2a074435 (diff)
FIXME run only specified test case
-rw-r--r--testsuites/validation/ts-default.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/testsuites/validation/ts-default.h b/testsuites/validation/ts-default.h
index 089fe0c0ad..227dbb679e 100644
--- a/testsuites/validation/ts-default.h
+++ b/testsuites/validation/ts-default.h
@@ -96,8 +96,6 @@ static union {
static void Init( rtems_task_argument arg )
{
- int exit_code;
-
(void) arg;
rtems_chain_initialize(
@@ -109,13 +107,14 @@ static void Init( rtems_task_argument arg )
rtems_test_begin( rtems_test_name, TEST_STATE );
T_register();
- exit_code = T_main( &test_config );
+ T_run_initialize( &test_config );
+ T_run_by_name( "RtemsSemReqObtain" );
- if ( exit_code == 0 ) {
+ if ( T_run_finalize() ) {
rtems_test_end( rtems_test_name );
}
- rtems_fatal( RTEMS_FATAL_SOURCE_EXIT, (uint32_t) exit_code );
+ rtems_fatal( RTEMS_FATAL_SOURCE_EXIT, 0 );
}
static void *task_stack_allocate( size_t size )