This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[Patch] gcc/testsuite/


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++]


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]