summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1997-07-31 22:04:17 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1997-07-31 22:04:17 +0000
commit91333c27bdc98ea872c97ec41be98fab5de4e442 (patch)
tree6a5e3d36ef87ef4fa8f6316252c58855fcf50fd1 /testsuites
parent13f09e64e56cb2bda93cbcdd3c71afc361a6ab6d (diff)
downloadrtems-91333c27bdc98ea872c97ec41be98fab5de4e442.tar.bz2
Merged very large and much appreciated patch from Chris Johns
<cjohns@plessey.com.au>. This patch includes the ods68302 bsp, the RTEMS++ class library, and the rtems++ test.
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/samples/cdtest/main.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuites/samples/cdtest/main.cc b/testsuites/samples/cdtest/main.cc
index d55f96e9f0..e7b3cd02b3 100644
--- a/testsuites/samples/cdtest/main.cc
+++ b/testsuites/samples/cdtest/main.cc
@@ -21,7 +21,9 @@
#include <rtems.h>
#include <stdio.h>
+#ifdef RTEMS_TEST_IO_STREAM
#include <iostream.h>
+#endif
extern "C" {
extern rtems_task main_task(rtems_task_argument);
@@ -108,7 +110,11 @@ cdtest(void)
A bar, blech, blah;
B bleak;
+#ifdef RTEMS_TEST_IO_STREAM
cout << "Testing a C++ I/O stream" << endl;
+#else
+ printf("IO Stream not tested\n");
+#endif
bar = blech;
}