summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp07
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-12-02 08:14:34 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2019-12-04 07:40:32 +0100
commita6879a418dee37c31728af0d2491cb8924f23de3 (patch)
tree2c79f43cac803cbbaba35d2162d45a88dbaf8030 /testsuites/sptests/sp07
parentlibtest: Change expected fail state string (diff)
downloadrtems-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/sp07')
-rw-r--r--testsuites/sptests/sp07/sp07.scn1
-rw-r--r--testsuites/sptests/sp07/task1.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/testsuites/sptests/sp07/sp07.scn b/testsuites/sptests/sp07/sp07.scn
index 414b46754e..c3964c575a 100644
--- a/testsuites/sptests/sp07/sp07.scn
+++ b/testsuites/sptests/sp07/sp07.scn
@@ -10,7 +10,6 @@ rtems_extension_ident -- OK
rtems_extension_ident - bad name -- RTEMS_INVALID_NAME
rtems_extension_ident - bad name -- RTEMS_INVALID_ADDRESS
rtems_extension_create - harmless -- OK
-<pause>
TA1 - rtems_task_set_priority - get initial priority of self: 04
TA1 - rtems_task_set_priority - set TA2's priority: 03
TA2 - rtems_task_set_priority - set TA1's priority: 02
diff --git a/testsuites/sptests/sp07/task1.c b/testsuites/sptests/sp07/task1.c
index 6c7f38eab4..c1896b9c70 100644
--- a/testsuites/sptests/sp07/task1.c
+++ b/testsuites/sptests/sp07/task1.c
@@ -21,8 +21,6 @@ rtems_task Task_1(
rtems_task_priority the_priority;
rtems_task_priority previous_priority;
- rtems_test_pause();
-
status = rtems_task_set_priority(
RTEMS_SELF,
RTEMS_CURRENT_PRIORITY,