libjava.exp (test_libjava_from_source): Append .exe to executable names.
authorDavid Billinghurst <David.Billinghurst@riotinto.com>
Sat, 4 May 2002 03:38:14 +0000 (03:38 +0000)
committerDavid Billinghurst <billingd@gcc.gnu.org>
Sat, 4 May 2002 03:38:14 +0000 (03:38 +0000)
2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>

* testsuite/lib/libjava.exp (test_libjava_from_source):
Append .exe to executable names.  If no suffix is present,
then ".exe" is added by default on win32.  Harmless
elsewhere so always do it.

From-SVN: r53143

libjava/ChangeLog
libjava/testsuite/lib/libjava.exp

index 46105fe15222315d40479d98407c0d1569064d4c..b6fd7549db342d66714a14df4ead9f1dd01aaca0 100644 (file)
@@ -1,3 +1,10 @@
+2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
+
+       * testsuite/lib/libjava.exp (test_libjava_from_source):
+       Append .exe to executable names.  If no suffix is present,
+       then ".exe" is added by default on win32.  Harmless
+       elsewhere so always do it.
+
 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
            Tom Tromey  <tromey@redhat.com>
 
index 46b0e6ab6bfbab67bd38ea448d148c57a11f0b2b..f5bafd47ed40ad2203ebf5d3204f5628ce3e187e 100644 (file)
@@ -452,6 +452,7 @@ proc test_libjava_from_source { options srcfile compile_args inpfile resultfile
        append executable ".o"
        set target object
     } else {
+        append executable ".exe"
        set target executable
     }
     if { $compile_args != "" } {