diff options
author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-04-20 07:25:43 +0000 |
---|---|---|
committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-04-20 07:25:43 +0000 |
commit | 68edee876f4838b470552143a8de6d60a1c5d68f (patch) | |
tree | 48f8321ba13da9f0da57c6f39f7c35f59506a172 /gcc/testsuite | |
parent | ac3f807f6662f837627f2258ccfc394ad589d9e4 (diff) | |
download | gcc-68edee876f4838b470552143a8de6d60a1c5d68f.tar.gz |
* lib/old-dejagnu.exp: Don't delete output of executable.
Add .exe suffix to executables.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41443 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite')
-rw-r--r-- | gcc/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/testsuite/lib/old-dejagnu.exp | 9 |
2 files changed, 11 insertions, 4 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 16e28e1ec32..c6d3012358f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2001-04-19 David Billinghurst <David.Billinghurst@riotinto.com> + Mark Mitchell <mark@codesourcery.com> + + * lib/old-dejagnu.exp: Don't delete output of executable. + Add .exe suffix to executables. + 2001-04-18 Toon Moene <toon@moene.indiv.nluug.nl> * g77.f-torture/execute/short.x; Remove - Error has been fixed. diff --git a/gcc/testsuite/lib/old-dejagnu.exp b/gcc/testsuite/lib/old-dejagnu.exp index aaac095b21a..8384e8392c6 100644 --- a/gcc/testsuite/lib/old-dejagnu.exp +++ b/gcc/testsuite/lib/old-dejagnu.exp @@ -1,4 +1,4 @@ -# Copyright (C) 1988, 90, 91, 92, 1994, 1996, 1997, 2000 Free Software Foundation, Inc. +# Copyright (C) 1988, 90, 91, 92, 1994, 1996, 1997, 2000, 2001 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -233,7 +233,7 @@ proc old-dejagnu { compiler prog name cflagsx default_cflags libs } { lappend cflags "compiler=$compiler" regsub -all "\[./\]" "$name" "-" output; - set output "$tmpdir/$output"; + set output "$tmpdir/$output.exe"; set compile_type "executable" set tmp [lindex [grep $prog "Build don.t link:"] 0] @@ -574,9 +574,10 @@ proc old-dejagnu { compiler prog name cflagsx default_cflags libs } { } $status "$name $pattern Execution test" } + } else { + verbose "deleting $output" + remote_file build delete $output } - verbose "deleting $output" - remote_file build delete $output return 0 } |