summaryrefslogtreecommitdiffstats
path: root/testsuites/tmtests/tmck
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-08-02 00:52:37 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-08-02 00:52:37 +0000
commitb454bc9149f2baa313976cae4fa5f7e14dac218b (patch)
tree7079d4779f4366170d332ba447645bf9fc143b4d /testsuites/tmtests/tmck
parent2002-08-01 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-b454bc9149f2baa313976cae4fa5f7e14dac218b.tar.bz2
2002-08-01 Joel Sherrill <joel@OARcorp.com>
* Per PR47 add support for buffered test output. This involved adding defines to redirect output to a buffer and dump it when full, at "test pause", and at exit. To avoid problems when redefining exit(), all tests were modified to call rtems_test_exit(). Some tests, notable psxtests, had to be modified to include the standard test macro .h file (pmacros.h or tmacros.h) to enable this support. * include/timesys.h, tm01/task1.c, tm02/task1.c, tm03/task1.c, tm04/task1.c, tm05/task1.c, tm06/task1.c, tm07/task1.c, tm08/task1.c, tm09/task1.c, tm10/task1.c, tm11/task1.c, tm12/task1.c, tm13/task1.c, tm14/task1.c, tm15/task1.c, tm16/task1.c, tm17/task1.c, tm18/task1.c, tm19/task1.c, tm20/task1.c, tm21/task1.c, tm22/task1.c, tm23/task1.c, tm24/task1.c, tm25/task1.c, tm26/task1.c, tm27/task1.c, tm28/task1.c, tm29/task1.c, tmck/task1.c, tmoverhd/testtask.c: Modified.
Diffstat (limited to 'testsuites/tmtests/tmck')
-rw-r--r--testsuites/tmtests/tmck/task1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/tmtests/tmck/task1.c b/testsuites/tmtests/tmck/task1.c
index 458c51395d..4234a32b71 100644
--- a/testsuites/tmtests/tmck/task1.c
+++ b/testsuites/tmtests/tmck/task1.c
@@ -136,7 +136,7 @@ rtems_test_pause();
);
puts( "*** END OF TIME CHECKER ***" );
- exit( 0 );
+ rtems_test_exit( 0 );
}
void check_read_timer()
@@ -160,7 +160,7 @@ void check_read_timer()
index--;
continue;
#else
- exit( 1 );
+ rtems_test_exit( 1 );
#endif
}
else