public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/11610] New: testcase 27_io/filebuf_members.cc Assertion `fb_01.is_open()' failed
@ 2003-07-20 22:12 dank at kegel dot com
  2003-08-25 15:10 ` [Bug libstdc++/11610] testcases 27_io/* don't work properly remotely dank at kegel dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: dank at kegel dot com @ 2003-07-20 22:12 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11610

           Summary: testcase 27_io/filebuf_members.cc Assertion
                    `fb_01.is_open()' failed
           Product: gcc
           Version: 3.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dank at kegel dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: sh4-*-linux-gnu,powerpc-*-linux-gnu

I'm building and testing cross-compilers from gcc-3.3 and gcc-ss-3_3-20030714
using http://kegel.com/crosstool.
The libstdc++ test fails with

FAIL: 27_io/filebuf_members.cc execution test

rsh output is filebuf_members.exe.7466:
.../gcc-ss-3_3-20030714/libstdc++-v3/testsuite/27_io/filebuf_members.cc:62: void
test_01(): Assertion `fb_01.is_open()' failed.
XYZ134ZYX
Aborted


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug libstdc++/11610] testcases 27_io/* don't work properly remotely
  2003-07-20 22:12 [Bug libstdc++/11610] New: testcase 27_io/filebuf_members.cc Assertion `fb_01.is_open()' failed dank at kegel dot com
@ 2003-08-25 15:10 ` dank at kegel dot com
  2003-09-17  5:45 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: dank at kegel dot com @ 2003-08-25 15:10 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11610


dank at kegel dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dhazeghi at yahoo dot com
            Summary|testcase                    |testcases 27_io/* don't work
                   |27_io/filebuf_members.cc    |properly remotely
                   |Assertion `fb_01.is_open()' |
                   |failed                      |


------- Additional Comments From dank at kegel dot com  2003-08-25 15:10 -------
The regression tests

filebuf_members
filebuf_virtuals
ifstream_members
istream_extractor_other
istream_seeks
istream_unformatted
ostream_inserter_other

all fail because they assume the input files *.txt, *.tst
are available on the target.  (They also seem to create
output files in / on the target, but that might just be
a strangeness in my setup.)

The right fix would be to use dejagnu's remote file operations
to copy those files to the target when is_remote is true.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug libstdc++/11610] testcases 27_io/* don't work properly remotely
  2003-07-20 22:12 [Bug libstdc++/11610] New: testcase 27_io/filebuf_members.cc Assertion `fb_01.is_open()' failed dank at kegel dot com
  2003-08-25 15:10 ` [Bug libstdc++/11610] testcases 27_io/* don't work properly remotely dank at kegel dot com
@ 2003-09-17  5:45 ` pinskia at gcc dot gnu dot org
  2003-09-28 21:17 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-09-17  5:45 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11610


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4                         |---


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug libstdc++/11610] testcases 27_io/* don't work properly remotely
  2003-07-20 22:12 [Bug libstdc++/11610] New: testcase 27_io/filebuf_members.cc Assertion `fb_01.is_open()' failed dank at kegel dot com
  2003-08-25 15:10 ` [Bug libstdc++/11610] testcases 27_io/* don't work properly remotely dank at kegel dot com
  2003-09-17  5:45 ` pinskia at gcc dot gnu dot org
@ 2003-09-28 21:17 ` pinskia at gcc dot gnu dot org
  2003-10-20 14:56 ` bkoz at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-09-28 21:17 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11610


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-09-28 21:01:44
               date|                            |


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug libstdc++/11610] testcases 27_io/* don't work properly remotely
  2003-07-20 22:12 [Bug libstdc++/11610] New: testcase 27_io/filebuf_members.cc Assertion `fb_01.is_open()' failed dank at kegel dot com
                   ` (2 preceding siblings ...)
  2003-09-28 21:17 ` pinskia at gcc dot gnu dot org
@ 2003-10-20 14:56 ` bkoz at gcc dot gnu dot org
  2004-01-27  2:32 ` jlquinn at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2003-10-20 14:56 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11610



------- Additional Comments From bkoz at gcc dot gnu dot org  2003-10-20 14:51 -------
> The right fix would be to use dejagnu's remote file operations
> to copy those files to the target when is_remote is true.

Well, I think the framework tries to copy these files always. See
libstdc++-v3/testsuite/lib/libstdc++.exp

proc v3-init { args } {
...
    # Copy any required data files.
    v3-copy-files [glob -nocomplain "$srcdir/data/*.tst"] $outdir
    v3-copy-files [glob -nocomplain "$srcdir/data/*.txt"] $outdir
...
}

Where

# Called by v3-init below.  "Static" to this file.
proc v3-copy-files {srcfiles dstdir} {
    foreach f $srcfiles {
        if { [catch { set symlink [file readlink $f] } x] } then {
            file copy -force $f $dstdir
        } else {
            if { [regexp "^/" "$symlink"] } then {
                file copy -force $symlink $dstdir
            } else {
                set dirname [file dirname $f]
                file copy -force $dirname/$symlink $dstdir
            }
        }
    }
}

If there's a better way to do it, I'm interested in seeing the patch.

best,
benjamin


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug libstdc++/11610] testcases 27_io/* don't work properly remotely
  2003-07-20 22:12 [Bug libstdc++/11610] New: testcase 27_io/filebuf_members.cc Assertion `fb_01.is_open()' failed dank at kegel dot com
                   ` (3 preceding siblings ...)
  2003-10-20 14:56 ` bkoz at gcc dot gnu dot org
@ 2004-01-27  2:32 ` jlquinn at gcc dot gnu dot org
  2004-01-27  2:33 ` jlquinn at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: jlquinn at gcc dot gnu dot org @ 2004-01-27  2:32 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11610


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug libstdc++/11610] testcases 27_io/* don't work properly remotely
  2003-07-20 22:12 [Bug libstdc++/11610] New: testcase 27_io/filebuf_members.cc Assertion `fb_01.is_open()' failed dank at kegel dot com
                   ` (4 preceding siblings ...)
  2004-01-27  2:32 ` jlquinn at gcc dot gnu dot org
@ 2004-01-27  2:33 ` jlquinn at gcc dot gnu dot org
  2004-05-14 11:43 ` bkoz at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: jlquinn at gcc dot gnu dot org @ 2004-01-27  2:33 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
   Last reconfirmed|2004-01-19 19:42:05         |2004-01-27 02:33:24
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11610


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug libstdc++/11610] testcases 27_io/* don't work properly remotely
  2003-07-20 22:12 [Bug libstdc++/11610] New: testcase 27_io/filebuf_members.cc Assertion `fb_01.is_open()' failed dank at kegel dot com
                   ` (5 preceding siblings ...)
  2004-01-27  2:33 ` jlquinn at gcc dot gnu dot org
@ 2004-05-14 11:43 ` bkoz at gcc dot gnu dot org
  2004-05-24  1:34 ` bkoz at gcc dot gnu dot org
  2004-05-31 17:08 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2004-05-14 11:43 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bkoz at gcc dot gnu dot org  2004-05-13 16:08 -------

I'd like to close this: I think that 15047 fixes it. Please confirm.

-benjamin

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11610


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug libstdc++/11610] testcases 27_io/* don't work properly remotely
  2003-07-20 22:12 [Bug libstdc++/11610] New: testcase 27_io/filebuf_members.cc Assertion `fb_01.is_open()' failed dank at kegel dot com
                   ` (6 preceding siblings ...)
  2004-05-14 11:43 ` bkoz at gcc dot gnu dot org
@ 2004-05-24  1:34 ` bkoz at gcc dot gnu dot org
  2004-05-31 17:08 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2004-05-24  1:34 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bkoz at gcc dot gnu dot org  2004-05-23 17:21 -------

Fixed in 3.4 and mainline.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11610


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug libstdc++/11610] testcases 27_io/* don't work properly remotely
  2003-07-20 22:12 [Bug libstdc++/11610] New: testcase 27_io/filebuf_members.cc Assertion `fb_01.is_open()' failed dank at kegel dot com
                   ` (7 preceding siblings ...)
  2004-05-24  1:34 ` bkoz at gcc dot gnu dot org
@ 2004-05-31 17:08 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-31 17:08 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |3.4.1


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11610


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2004-05-30 15:13 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-20 22:12 [Bug libstdc++/11610] New: testcase 27_io/filebuf_members.cc Assertion `fb_01.is_open()' failed dank at kegel dot com
2003-08-25 15:10 ` [Bug libstdc++/11610] testcases 27_io/* don't work properly remotely dank at kegel dot com
2003-09-17  5:45 ` pinskia at gcc dot gnu dot org
2003-09-28 21:17 ` pinskia at gcc dot gnu dot org
2003-10-20 14:56 ` bkoz at gcc dot gnu dot org
2004-01-27  2:32 ` jlquinn at gcc dot gnu dot org
2004-01-27  2:33 ` jlquinn at gcc dot gnu dot org
2004-05-14 11:43 ` bkoz at gcc dot gnu dot org
2004-05-24  1:34 ` bkoz at gcc dot gnu dot org
2004-05-31 17:08 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).