aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2001-04-10 17:03:51 -0700
committerRichard Henderson <rth@gcc.gnu.org>2001-04-10 17:03:51 -0700
commita14fd7f5649dfec7994af44dc5ce10473921d22d (patch)
tree54071a080ed025717fe3d3ddb8c845442833f4ac
parentab9fa4b5d4af4a4908ea881b380c5bb73a1a4386 (diff)
downloadgcc-a14fd7f5649dfec7994af44dc5ce10473921d22d.zip
gcc-a14fd7f5649dfec7994af44dc5ce10473921d22d.tar.gz
gcc-a14fd7f5649dfec7994af44dc5ce10473921d22d.tar.bz2
libstdc++.exp (dg-test): Explicitly run the program in the current directory.
* testsuite/lib/libstdc++.exp (dg-test): Explicitly run the program in the current directory. From-SVN: r41234
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/testsuite/lib/libstdc++.exp2
2 files changed, 6 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 8647710..9bc2a86 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,8 @@
+2001-04-10 Richard Henderson <rth@redhat.com>
+
+ * testsuite/lib/libstdc++.exp (dg-test): Explicitly run
+ the program in the current directory.
+
2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
* include/bits/std_valarray.h(valarray<>::operator[]): Make
diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp
index 5d9633b..ea148e6 100644
--- a/libstdc++-v3/testsuite/lib/libstdc++.exp
+++ b/libstdc++-v3/testsuite/lib/libstdc++.exp
@@ -545,7 +545,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"