diff options
Diffstat (limited to 'gcc/testsuite/lib/objc-dg.exp')
-rw-r--r-- | gcc/testsuite/lib/objc-dg.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/lib/objc-dg.exp b/gcc/testsuite/lib/objc-dg.exp index aa4364c..397bb2b 100644 --- a/gcc/testsuite/lib/objc-dg.exp +++ b/gcc/testsuite/lib/objc-dg.exp @@ -73,7 +73,7 @@ proc objc-dg-test { prog do_what extra_tool_flags } { } "link" { set compile_type "executable" - set output_file "a.out" + set output_file "[file rootname [file tail $prog]].exe" # The following line is needed for targets like the i960 where # the default output file is b.out. Sigh. } @@ -82,7 +82,7 @@ proc objc-dg-test { prog do_what extra_tool_flags } { # FIXME: "./" is to cope with "." not being in $PATH. # Should this be handled elsewhere? # YES. - set output_file "./a.out" + set output_file "./[file rootname [file tail $prog]].exe" # This is the only place where we care if an executable was # created or not. If it was, dg.exp will try to run it. remote_file build delete $output_file; |