diff options
| author | billingd <billingd@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-05-08 12:38:55 +0000 |
|---|---|---|
| committer | billingd <billingd@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-05-08 12:38:55 +0000 |
| commit | a3cc8e8d54d3afb63eb6c0978fa2e7dd48406216 (patch) | |
| tree | e27b6b640bcb2416d793b4a91ced0978dec5295b /libjava/testsuite/lib/libjava.exp | |
| parent | e6573f2649d48bd5df304c4590150e1e9745c8c1 (diff) | |
| download | ppe42-gcc-a3cc8e8d54d3afb63eb6c0978fa2e7dd48406216.tar.gz ppe42-gcc-a3cc8e8d54d3afb63eb6c0978fa2e7dd48406216.zip | |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53291 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/testsuite/lib/libjava.exp')
| -rw-r--r-- | libjava/testsuite/lib/libjava.exp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libjava/testsuite/lib/libjava.exp b/libjava/testsuite/lib/libjava.exp index e083fe05d97..4717c06b4cb 100644 --- a/libjava/testsuite/lib/libjava.exp +++ b/libjava/testsuite/lib/libjava.exp @@ -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 } |

