aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2007-02-23 22:12:49 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2007-02-23 22:12:49 +0000
commit4be4340a77f1349d71df532a0226f4b5c1585591 (patch)
treecf8201f3edbe2c9f0490456a51b796c9a60678e8 /libstdc++-v3
parent8371ec74262170c41219caadab840bfe3e0a02d1 (diff)
downloadgcc-4be4340a77f1349d71df532a0226f4b5c1585591.zip
gcc-4be4340a77f1349d71df532a0226f4b5c1585591.tar.gz
gcc-4be4340a77f1349d71df532a0226f4b5c1585591.tar.bz2
target-supports.exp (check_effective_target_unwrapped): New.
* lib/target-supports.exp (check_effective_target_unwrapped): New. * testsuite/27_io/ios_base/sync_with_stdio/1.cc: XFAIL for wrapped targets. From-SVN: r122273
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog7
-rw-r--r--libstdc++-v3/testsuite/27_io/ios_base/sync_with_stdio/1.cc6
2 files changed, 12 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index d6481c6..eb27702 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,4 +1,9 @@
-2007-02-22 Mark Mitchell <mark@codesourcery.com>
+2007-02-23 Mark Mitchell <mark@codesourcery.com>
+
+ * testsuite/27_io/ios_base/sync_with_stdio/1.cc: XFAIL for wrapped
+ targets.
+
+2007-02-23 Mark Mitchell <mark@codesourcery.com>
* testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
XFAIL for Newlib targets.
diff --git a/libstdc++-v3/testsuite/27_io/ios_base/sync_with_stdio/1.cc b/libstdc++-v3/testsuite/27_io/ios_base/sync_with_stdio/1.cc
index dc78bb0..d4aaa5b 100644
--- a/libstdc++-v3/testsuite/27_io/ios_base/sync_with_stdio/1.cc
+++ b/libstdc++-v3/testsuite/27_io/ios_base/sync_with_stdio/1.cc
@@ -25,6 +25,12 @@
// @require@ %-*.tst
// @diff@ %-*.tst %-*.txt
+// This test fails on platforms using a wrapper, because this test
+// redirects stdout to a file and so the exit status printed by the
+// wrapper is not visibile to DejaGNU. DejaGNU then assumes that the
+// test exited with a non-zero exit status.
+// { dg-do run { xfail { ! unwrapped } } }
+
#include <cstdio>
#include <sstream>
#include <iostream>