This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Fwd: [PATCH]Remve xfail for wrapped target from libstdc++-v3/testsuite/27_io/ios_base/sync_with_stdio/1.cc
- From: Renlin Li <renlin dot li at arm dot com>
- To: "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>
- Date: Thu, 05 Feb 2015 11:28:30 +0000
- Subject: Fwd: [PATCH]Remve xfail for wrapped target from libstdc++-v3/testsuite/27_io/ios_base/sync_with_stdio/1.cc
- Authentication-results: sourceware.org; auth=none
- References: <54D09136 dot 9050402 at arm dot com>
I forgot to send it to libstdc++ mailing list.
-------- Forwarded Message --------
Subject: [PATCH]Remve xfail for wrapped target from
libstdc++-v3/testsuite/27_io/ios_base/sync_with_stdio/1.cc
Date: Tue, 03 Feb 2015 09:13:26 +0000
From: Renlin Li <renlin.li@arm.com>
To: gcc-patches@gcc.gnu.org <gcc-patches@gcc.gnu.org>
CC: Marcus Shawcroft <Marcus.Shawcroft@arm.com>, ramana Radhakrishnan
<ramana.radhakrishnan@arm.com>
Hi all,
This patch simply remove the target selector. It should pass for all target which applies.
The comment in the code is not correct. stderr is redirected, not the stdout.
Therefore, the return status which is streamed into stdout should properly captured even by wrapped target.
Okay for trunk?
libstdc++-v3/ChangeLog:
2015-02-03 Renlin Li<renlin.li@arm.com>
* testsuite/27_io/ios_base/sync_with_stdio/1.cc: Remve xfail for wrapped target.
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 6edaef3..1c9fa60 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
@@ -23,12 +23,6 @@
// @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>