This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Patch] gcc/testsuite/
- To: "'gcc-bugs at gcc dot gnu dot org'" <gcc-bugs at gcc dot gnu dot org>
- Subject: [Patch] gcc/testsuite/
- From: "Billinghurst, David (CRTS)" <David dot Billinghurst at riotinto dot com>
- Date: Fri, 29 Dec 2000 21:44:53 -0000
Cygwin cannot run g++ testsuite as DejaGnu can't run ${odir_v3}/tests_flags.
Fixed thus. (In addition, the compiler flags returned by tests_flags are
wrong. I can't see how to modify them for an individual target)
2000-12-30 David Billinghurst <David.Billinghurst@riotinto.com>
* lib/g++.exp: Use sh to exec ${odir_v3}/tests_flags
--- gcc/testsuite/lib/g++.exp.orig Fri Dec 29 20:43:44 2000
+++ gcc/testsuite/lib/g++.exp Fri Dec 29 20:39:43 2000
@@ -86,7 +86,7 @@
if { ${HAVE_LIBSTDCXX_V3} } {
set odir_v3 [lookfor_file ${gccpath} libstdc++-v3]
set sdir_v3 [lookfor_file ${srcdir} libstdc++-v3]
- append flags [exec ${odir_v3}/tests_flags --compiler ${odir_v3}
${sdir_v3}]
+ append flags [exec sh ${odir_v3}/tests_flags --compiler ${odir_v3}
${sdir_v3}]
} else {
set odir_v2 [lookfor_file ${gccpath} libstdc++]
set sdir_v2 [lookfor_file ${srcdir} libstdc++]