Commit 4be4340a by Mark Mitchell Committed by Mark Mitchell

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
parent 8371ec74
......@@ -2,6 +2,11 @@
* lib/target-supports.exp (check_effective_target_unwrapped): New.
2007-02-23 Mark Mitchell <mark@codesourcery.com>
* lib/target-supports.exp (check_effective_target_newlib): New
function.
2007-02-23 Paul Thomas <pault@gcc.gnu.org>
PR fortran/30660
......@@ -517,6 +517,16 @@ proc check_effective_target_mpaired_single { } {
} "-mpaired-single"]
}
# Return 1 if the target does not use a status wrapper.
proc check_effective_target_unwrapped { } {
if { [target_info needs_status_wrapper] != "" \
&& [target_info needs_status_wrapper] != "0" } {
return 0
}
return 1
}
# Return true if iconv is supported on the target. In particular IBM1047.
proc check_iconv_available { test_what } {
......
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.
......
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment