This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Patch for libstdc++/14353 libstdc++ wchar tests run for -mabi=32
- From: "Billinghurst, David (CALCRTS)" <david dot billinghurst at comalco dot riotinto dot com dot au>
- To: <gcc-patches at gcc dot gnu dot org>
- Cc: <gcc-bugzilla at gcc dot gnu dot org>,<libstdc++ at gcc dot gnu dot org>
- Date: Mon, 1 Mar 2004 14:46:58 +1100
- Subject: Patch for libstdc++/14353 libstdc++ wchar tests run for -mabi=32
The following patch fixes libstdc++/14353 by using the testsuite_files in the
correct multilib directory.
Tested on mips-sgi-irix6.5 for 3.4 branch with
RUNTESTFLAGS='--target_board \"unix{-mabi=32,,-mabi=64}\"'
2004-03-01 David Billinghurst <David.Billinghurst@riotinto.com>
* testsuite/lib/libstdc++.exp: Use testsuite_files from
correct multilib blddir when running testsuite
Index: testsuite/lib/libstdc++.exp
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/testsuite/lib/libstdc++.exp,v
retrieving revision 1.15
diff -u -r1.15 libstdc++.exp
--- testsuite/lib/libstdc++.exp 12 Jan 2004 20:47:44 -0000 1.15
+++ testsuite/lib/libstdc++.exp 1 Mar 2004 03:36:50 -0000
@@ -246,9 +246,14 @@
proc v3-list-tests { filename } {
global srcdir
global outdir
+ global blddir
- set tests_file "${outdir}/${filename}"
+ set tests_file "${blddir}/testsuite/${filename}"
set sfiles ""
+
+ verbose -log "In v3-list-tests"
+ verbose -log "blddir = ${blddir}"
+ verbose -log "tests_file = $tests_file"
# If there is a testsuite_file, use it.
if { [file exists $tests_file] } {