From 2a3d1fd2cb003b7a8f2c3c8f475b71086e3695f7 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 29 Jan 1997 00:31:56 +0000 Subject: Made stopping for the pause an option which can be configured in the targopts.h file. --- testsuites/support/include/tmacros.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'testsuites/support/include/tmacros.h') diff --git a/testsuites/support/include/tmacros.h b/testsuites/support/include/tmacros.h index 203261d6f8..3477d836b9 100644 --- a/testsuites/support/include/tmacros.h +++ b/testsuites/support/include/tmacros.h @@ -69,6 +69,17 @@ extern "C" { #define puts_nocr printf +#ifdef RTEMS_TEST_NO_PAUSE +#define rtems_test_pause() \ + do { \ + printf( "\n" ); fflush( stdout ); \ + } while ( 0 ) + +#define rtems_test_pause_and_screen_number( _screen ) \ + do { \ + printf( "\n", (_screen) ); fflush( stdout ); \ + } while ( 0 ) +#else #define rtems_test_pause() \ do { \ char buffer[ 80 ]; \ @@ -84,6 +95,7 @@ extern "C" { gets( buffer ); \ puts( "" ); \ } while ( 0 ) +#endif #define put_name( name, crlf ) \ { rtems_unsigned32 c0, c1, c2, c3; \ -- cgit v1.2.3