summaryrefslogtreecommitdiffstats
path: root/testsuites/samples/cdtest
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-08-02 00:56:24 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-08-02 00:56:24 +0000
commit6ada2b1ea1ce772d1b6e608a9d4186fdfead183d (patch)
tree691c869612ee278501115340fbe83b02966186a1 /testsuites/samples/cdtest
parent2002-08-01 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-6ada2b1ea1ce772d1b6e608a9d4186fdfead183d.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. * cdtest/init.c: Modified.
Diffstat (limited to 'testsuites/samples/cdtest')
-rw-r--r--testsuites/samples/cdtest/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuites/samples/cdtest/init.c b/testsuites/samples/cdtest/init.c
index 1df5302b50..2ba973793a 100644
--- a/testsuites/samples/cdtest/init.c
+++ b/testsuites/samples/cdtest/init.c
@@ -23,3 +23,4 @@
#define CONFIGURE_INIT
#include "system.h"
#include <stdio.h>
+#include <tmacros.h>