libstdc++ execute tests

Richard Henderson rth@redhat.com
Tue Apr 10 15:15:00 GMT 2001


On my boxen, every single libstdc++ execute test fails.  After much
trial and error, I discovered that the testsuite requires "." to be
in your path.  This appears to fix things.


r~


Index: libstdc++.exp
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/testsuite/lib/libstdc++.exp,v
retrieving revision 1.6
diff -c -p -d -u -r1.6 libstdc++.exp
--- libstdc++.exp	2001/04/02 23:40:01	1.6
+++ libstdc++.exp	2001/04/10 22:10:22
@@ -545,7 +545,7 @@ proc dg-test { args } {
 	    warning "$name compilation failed to produce executable"
 	} else {
 	    set status -1
-	    set result [${tool}_load $output_file]
+	    set result [${tool}_load ./$output_file]
 	    set status [lindex $result 0];
 	    set output [lindex $result 1];
 	    #send_user "After exec, status: $status\n"



More information about the Gcc-patches mailing list