libstdc++.exp (libstdc++-dg-test): Prepend "./" to output_file.
* testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to output_file. (dg-test): Revert rth's change. From-SVN: r41301
This commit is contained in:
parent
75b9074c18
commit
d93aa33514
|
@ -1,3 +1,9 @@
|
||||||
|
2001-04-12 Jason Merrill <jason_merrill@redhat.com>
|
||||||
|
|
||||||
|
* testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
|
||||||
|
output_file.
|
||||||
|
(dg-test): Revert rth's change.
|
||||||
|
|
||||||
2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
|
2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
|
||||||
|
|
||||||
* libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
|
* libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
|
||||||
|
|
|
@ -178,6 +178,7 @@ proc libstdc++-dg-test { testfile compile_type additional-options } {
|
||||||
|
|
||||||
libstdc++-process-options $testfile
|
libstdc++-process-options $testfile
|
||||||
set output_file [file rootname [file tail $testfile]]
|
set output_file [file rootname [file tail $testfile]]
|
||||||
|
set output_file "./$output_file"
|
||||||
switch $compile_type {
|
switch $compile_type {
|
||||||
"preprocess" {
|
"preprocess" {
|
||||||
set lt $lib_env(CXX)
|
set lt $lib_env(CXX)
|
||||||
|
@ -545,7 +546,7 @@ proc dg-test { args } {
|
||||||
warning "$name compilation failed to produce executable"
|
warning "$name compilation failed to produce executable"
|
||||||
} else {
|
} else {
|
||||||
set status -1
|
set status -1
|
||||||
set result [${tool}_load ./$output_file]
|
set result [${tool}_load $output_file]
|
||||||
set status [lindex $result 0];
|
set status [lindex $result 0];
|
||||||
set output [lindex $result 1];
|
set output [lindex $result 1];
|
||||||
#send_user "After exec, status: $status\n"
|
#send_user "After exec, status: $status\n"
|
||||||
|
|
Loading…
Reference in New Issue