diff options
Diffstat (limited to 'gcc/testsuite/lib')
-rw-r--r-- | gcc/testsuite/lib/g++-dg.exp | 4 | ||||
-rw-r--r-- | gcc/testsuite/lib/g77-dg.exp | 4 | ||||
-rw-r--r-- | gcc/testsuite/lib/gcc-dg.exp | 4 | ||||
-rw-r--r-- | gcc/testsuite/lib/mike-g++.exp | 4 | ||||
-rw-r--r-- | gcc/testsuite/lib/mike-g77.exp | 4 | ||||
-rw-r--r-- | gcc/testsuite/lib/mike-gcc.exp | 4 | ||||
-rw-r--r-- | gcc/testsuite/lib/objc-dg.exp | 4 |
7 files changed, 14 insertions, 14 deletions
diff --git a/gcc/testsuite/lib/g++-dg.exp b/gcc/testsuite/lib/g++-dg.exp index aeabf46..8be839e 100644 --- a/gcc/testsuite/lib/g++-dg.exp +++ b/gcc/testsuite/lib/g++-dg.exp @@ -39,7 +39,7 @@ proc g++-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. } @@ -48,7 +48,7 @@ proc g++-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; diff --git a/gcc/testsuite/lib/g77-dg.exp b/gcc/testsuite/lib/g77-dg.exp index ba26731..396604c 100644 --- a/gcc/testsuite/lib/g77-dg.exp +++ b/gcc/testsuite/lib/g77-dg.exp @@ -71,7 +71,7 @@ proc g77-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. } @@ -80,7 +80,7 @@ proc g77-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; diff --git a/gcc/testsuite/lib/gcc-dg.exp b/gcc/testsuite/lib/gcc-dg.exp index 4faa46d..403fefc 100644 --- a/gcc/testsuite/lib/gcc-dg.exp +++ b/gcc/testsuite/lib/gcc-dg.exp @@ -71,7 +71,7 @@ proc gcc-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. } @@ -80,7 +80,7 @@ proc gcc-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; diff --git a/gcc/testsuite/lib/mike-g++.exp b/gcc/testsuite/lib/mike-g++.exp index 61cd526..0844d45 100644 --- a/gcc/testsuite/lib/mike-g++.exp +++ b/gcc/testsuite/lib/mike-g++.exp @@ -113,12 +113,12 @@ proc postbase { src_code run groups args } { link { set compile_type "executable"; - set output_file "$tmpdir/a.out"; + append output_file ".exe"; } run { set compile_type "executable"; - set output_file "$tmpdir/a.out"; + append output_file ".exe"; set run yes; } default diff --git a/gcc/testsuite/lib/mike-g77.exp b/gcc/testsuite/lib/mike-g77.exp index a3e12d4..ccc9041 100644 --- a/gcc/testsuite/lib/mike-g77.exp +++ b/gcc/testsuite/lib/mike-g77.exp @@ -120,12 +120,12 @@ proc postbase { src_code run groups args } { link { set compile_type "executable"; - set output_file "$tmpdir/a.out"; + append output_file ".exe"; } run { set compile_type "executable"; - set output_file "$tmpdir/a.out"; + append output_file ".exe"; set run yes; } default diff --git a/gcc/testsuite/lib/mike-gcc.exp b/gcc/testsuite/lib/mike-gcc.exp index 89becfb..34cf039 100644 --- a/gcc/testsuite/lib/mike-gcc.exp +++ b/gcc/testsuite/lib/mike-gcc.exp @@ -117,12 +117,12 @@ proc postbase { src_code run groups args } { link { set compile_type "executable"; - set output_file "$tmpdir/a.out"; + append output_file ".exe"; } run { set compile_type "executable"; - set output_file "$tmpdir/a.out"; + append output_file ".exe"; set run yes; } default 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; |