summaryrefslogtreecommitdiffstats
path: root/testsuites/support/include/tmacros.h
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/support/include/tmacros.h
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/support/include/tmacros.h')
-rw-r--r--testsuites/support/include/tmacros.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/testsuites/support/include/tmacros.h b/testsuites/support/include/tmacros.h
index ff016605db..2c885c6ecc 100644
--- a/testsuites/support/include/tmacros.h
+++ b/testsuites/support/include/tmacros.h
@@ -219,34 +219,6 @@ extern "C" {
#define puts_nocr printf
-#ifdef RTEMS_TEST_NO_PAUSE
-#define rtems_test_pause() \
- do { \
- printf( "<pause>\n" ); \
- } while ( 0 )
-
-#define rtems_test_pause_and_screen_number( _screen ) \
- do { \
- printf( "<pause - screen %d>\n", (_screen) ); \
- } while ( 0 )
-#else
-#define rtems_test_pause() \
- do { \
- char buffer[ 80 ]; \
- printf( "<pause>" ); \
- gets( buffer ); \
- puts( "" ); \
- } while ( 0 )
-
-#define rtems_test_pause_and_screen_number( _screen ) \
- do { \
- char buffer[ 80 ]; \
- printf( "<pause - screen %d>", (_screen) ); \
- gets( buffer ); \
- puts( "" ); \
- } while ( 0 )
-#endif
-
#define put_name( name, crlf ) \
{ int c0, c1, c2, c3; \
c0 = (name >> 24) & 0xff; \