libjava.exp (test_libjava_from_source): Append .exe to executable names.

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
This commit is contained in:
David Billinghurst 2002-05-04 03:38:14 +00:00 committed by David Billinghurst
parent 935bfb44f5
commit 1c177c1816
2 changed files with 8 additions and 0 deletions

View 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>

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