This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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 != "" } {


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