This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
testsuite fix for cygwin
- From: "Billinghurst, David (CRTS)" <David dot Billinghurst at riotinto dot com>
- To: <java-patches at gcc dot gnu dot org>
- Date: Fri, 3 May 2002 12:16:03 +1000
- Subject: testsuite fix for cygwin
libjava testsuite has problems on cygwin since executables
automatically get a .exe extension
Result is
- specify -o foo,
- generate foo.exe
- try to delete foo which doesn't exist
This is solved in other gcc testsuites by always adding .exe
2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
* testsuite/lib/libjava.exp (test_libjava_from_source):
Append .exe to executable names
Index: libjava.exp
===================================================================
RCS file: /cvs/gcc/gcc/libjava/testsuite/lib/libjava.exp,v
retrieving revision 1.33.2.2
diff -u -p -r1.33.2.2 libjava.exp
--- libjava.exp 11 Apr 2002 20:55:51 -0000 1.33.2.2
+++ libjava.exp 3 May 2002 02:09:06 -0000
@@ -419,6 +419,7 @@ proc test_libjava_from_source { options
append executable ".o"
set target object
} else {
+ append executable ".exe"
set target executable
}
if { $compile_args != "" } {