diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-12-02 08:14:34 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-12-04 07:40:32 +0100 |
commit | a6879a418dee37c31728af0d2491cb8924f23de3 (patch) | |
tree | 2c79f43cac803cbbaba35d2162d45a88dbaf8030 /testsuites/sptests/sp43 | |
parent | libtest: Change expected fail state string (diff) | |
download | rtems-a6879a418dee37c31728af0d2491cb8924f23de3.tar.bz2 |
testsuites: Remove rtems_test_pause*()
The rtems_test_pause() and rtems_test_pause_and_screen_number() macros
had different implementations depending on the RTEMS_TEST_NO_PAUSE
define. This define was defined to 1 by default. The user was able to
change this via the undocumented --disable-test-no-pause configure
command line option.
Pausing tests and waiting for user input contradicts the goal of having
automated test runs. Remove this feature.
Update #3818.
Diffstat (limited to 'testsuites/sptests/sp43')
-rw-r--r-- | testsuites/sptests/sp43/init.c | 10 | ||||
-rw-r--r-- | testsuites/sptests/sp43/sp43.scn | 3 |
2 files changed, 3 insertions, 10 deletions
diff --git a/testsuites/sptests/sp43/init.c b/testsuites/sptests/sp43/init.c index 2f6cbfdfca..b57c158173 100644 --- a/testsuites/sptests/sp43/init.c +++ b/testsuites/sptests/sp43/init.c @@ -296,9 +296,8 @@ rtems_task Init( rtems_test_assert( part == 1 ); /* - * Start another screen and do the API/Class min/max routines + * API/Class min/max routines */ - rtems_test_pause(); printf( "rtems_object_id_api_minimum returned %d\n", rtems_object_id_api_minimum() ); @@ -330,9 +329,8 @@ rtems_task Init( rtems_object_api_maximum_class(OBJECTS_CLASSIC_API) ); /* - * Another screen break for the API and class name tests + * API and class name tests */ - rtems_test_pause(); printf( "rtems_object_get_api_name(0) = %s\n", rtems_object_get_api_name(0) ); printf( "rtems_object_get_api_name(255) = %s\n", @@ -355,11 +353,9 @@ rtems_task Init( OBJECTS_CLASSIC_API, OBJECTS_RTEMS_BARRIERS)); /* - * Another screen break for the information + * Class information */ - rtems_test_pause(); - puts( "rtems_object_get_class_information - INVALID_ADDRESS" ); sc = rtems_object_get_class_information( OBJECTS_INTERNAL_API, OBJECTS_INTERNAL_THREADS, NULL ); diff --git a/testsuites/sptests/sp43/sp43.scn b/testsuites/sptests/sp43/sp43.scn index 999e4c1f94..04af7f9596 100644 --- a/testsuites/sptests/sp43/sp43.scn +++ b/testsuites/sptests/sp43/sp43.scn @@ -43,7 +43,6 @@ rtems_object_id_get_api - OK rtems_object_id_get_class - OK rtems_object_id_get_node - OK rtems_object_id_get_index - OK -<pause> rtems_object_id_api_minimum returned 1 rtems_object_id_api_maximum returned 3 rtems_object_api_minimum_class(0) returned -1 @@ -56,7 +55,6 @@ rtems_object_api_minimum_class(OBJECTS_INTERNAL_API) returned 1 rtems_object_api_maximum_class(OBJECTS_INTERNAL_API) returned 1 rtems_object_api_minimum_class(OBJECTS_CLASSIC_API) returned 1 rtems_object_api_maximum_class(OBJECTS_CLASSIC_API) returned 10 -<pause> rtems_object_get_api_name(0) = BAD CLASS rtems_object_get_api_name(255) = BAD CLASS rtems_object_get_api_name(INTERNAL_API) = Internal @@ -65,7 +63,6 @@ rtems_object_get_api_class_name(0, RTEMS_TASKS) = BAD API rtems_object_get_api_class_name(CLASSIC_API, 0) = BAD CLASS rtems_object_get_api_class_name(INTERNAL_API, THREADS) = Thread rtems_object_get_api_class_name(CLASSIC_API, RTEMS_BARRIERS) = Barrier -<pause> rtems_object_get_class_information - INVALID_ADDRESS rtems_object_get_class_information - INVALID_NUMBER (bad API) rtems_object_get_class_information - INVALID_NUMBER (api=0xff) |