From a6879a418dee37c31728af0d2491cb8924f23de3 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 2 Dec 2019 08:14:34 +0100 Subject: 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. --- testsuites/support/include/tmacros.h | 28 ---------------------------- 1 file changed, 28 deletions(-) (limited to 'testsuites/support') 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( "\n" ); \ - } while ( 0 ) - -#define rtems_test_pause_and_screen_number( _screen ) \ - do { \ - printf( "\n", (_screen) ); \ - } while ( 0 ) -#else -#define rtems_test_pause() \ - do { \ - char buffer[ 80 ]; \ - printf( "" ); \ - gets( buffer ); \ - puts( "" ); \ - } while ( 0 ) - -#define rtems_test_pause_and_screen_number( _screen ) \ - do { \ - char buffer[ 80 ]; \ - printf( "", (_screen) ); \ - gets( buffer ); \ - puts( "" ); \ - } while ( 0 ) -#endif - #define put_name( name, crlf ) \ { int c0, c1, c2, c3; \ c0 = (name >> 24) & 0xff; \ -- cgit v1.2.3