Bug 14866 - 27_io/ios_base/sync_with_stdio/1.cc is broken on simulator testglue targets
Summary: 27_io/ios_base/sync_with_stdio/1.cc is broken on simulator testglue targets
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: libstdc++ (show other bugs)
Version: 3.4.0
: P2 normal
Target Milestone: 4.2.0
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-06 14:21 UTC by Paul Brook
Modified: 2006-02-27 12:40 UTC (History)
1 user (show)

See Also:
Host: i686-pc-linux-gnu
Target: arm-none-elf
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Brook 2004-04-06 14:21:08 UTC
The test 27_io/ios_base/sync_with_stdio/1.cc fails on targets which use the 
dejagnu testglue wrapper to obtain the process return code. 
 
The testglue wrapper works by printing the exit code to stdout. This test 
redirects stdout, so this is lost. 
 
Older versions of dejagnu pass a test if it produces no output, newer version 
(correctly) fail it.
Comment 1 paolo@gcc.gnu.org 2006-02-27 12:38:54 UTC
Subject: Bug 14866

Author: paolo
Date: Mon Feb 27 12:38:49 2006
New Revision: 111474

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=111474
Log:
2006-02-27  Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/14866
	* testsuite/27_io/ios_base/sync_with_stdio/1.cc: Redirect
	stderr instead.

Modified:
    trunk/libstdc++-v3/testsuite/27_io/ios_base/sync_with_stdio/1.cc

Comment 2 paolo@gcc.gnu.org 2006-02-27 12:39:36 UTC
Subject: Bug 14866

Author: paolo
Date: Mon Feb 27 12:39:27 2006
New Revision: 111475

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=111475
Log:
2006-02-27  Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/14866
	* testsuite/27_io/ios_base/sync_with_stdio/1.cc: Redirect
	stderr instead.

Modified:
    trunk/libstdc++-v3/ChangeLog

Comment 3 Paolo Carlini 2006-02-27 12:40:31 UTC
Fixed for 4.2.0.