diff options
Diffstat (limited to 'c/src')
-rw-r--r-- | c/src/tests/support/include/tmacros.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/c/src/tests/support/include/tmacros.h b/c/src/tests/support/include/tmacros.h index 203261d6f8..3477d836b9 100644 --- a/c/src/tests/support/include/tmacros.h +++ b/c/src/tests/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( "<pause>\n" ); fflush( stdout ); \ + } while ( 0 ) + +#define rtems_test_pause_and_screen_number( _screen ) \ + do { \ + printf( "<pause - screen %d>\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; \ |