libjava.exp (test_libjava_from_javac): Append .exe to executable names.
2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com> * testsuite/lib/libjava.exp (test_libjava_from_javac): Append .exe to executable names. Fix for cygwin. From-SVN: r53291
This commit is contained in:
committed by
David Billinghurst
parent
3ae9b37906
commit
61b8fbecf7
@@ -683,7 +683,10 @@ proc test_libjava_from_javac { options srcfile compile_args inpfile resultfile e
|
||||
} else {
|
||||
set type executable
|
||||
lappend largs "additional_flags=--main=$main_name"
|
||||
set executable "${objdir}/$main_name"
|
||||
# DOS/win32 targets default to .exe if no suffix is given
|
||||
# We then try to delete a file that doesn't exist. It is
|
||||
# simpler to add the suffix everywhere.
|
||||
set executable "${objdir}/${main_name}.exe"
|
||||
set mode link
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user