aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2001-04-12 09:35:24 -0400
committerJason Merrill <jason@gcc.gnu.org>2001-04-12 09:35:24 -0400
commitd93aa33514f7b0ccf084c7284802f079d41ea061 (patch)
tree595f7f2ccd53de6ba2f538b7f0646d5dfa7bb8bc /libstdc++-v3
parent75b9074c18f39d280b49b177a65409f9d0edb602 (diff)
downloadgcc-d93aa33514f7b0ccf084c7284802f079d41ea061.zip
gcc-d93aa33514f7b0ccf084c7284802f079d41ea061.tar.gz
gcc-d93aa33514f7b0ccf084c7284802f079d41ea061.tar.bz2
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
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog6
-rw-r--r--libstdc++-v3/testsuite/lib/libstdc++.exp3
2 files changed, 8 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 50cf9ec..c44e9c4 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -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>
* libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp
index ea148e6..b237d68 100644
--- a/libstdc++-v3/testsuite/lib/libstdc++.exp
+++ b/libstdc++-v3/testsuite/lib/libstdc++.exp
@@ -178,6 +178,7 @@ proc libstdc++-dg-test { testfile compile_type additional-options } {
libstdc++-process-options $testfile
set output_file [file rootname [file tail $testfile]]
+ set output_file "./$output_file"
switch $compile_type {
"preprocess" {
set lt $lib_env(CXX)
@@ -545,7 +546,7 @@ proc dg-test { args } {
warning "$name compilation failed to produce executable"
} else {
set status -1
- set result [${tool}_load ./$output_file]
+ set result [${tool}_load $output_file]
set status [lindex $result 0];
set output [lindex $result 1];
#send_user "After exec, status: $status\n"