summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--ChangeLogs/ChangeLog-02a6
-rw-r--r--ChangeLogs/ChangeLog-03a6
-rwxr-xr-xtests/run_test.pl13
4 files changed, 19 insertions, 12 deletions
diff --git a/ChangeLog b/ChangeLog
index b7c60a9d40b..51bb61acf77 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Tue Nov 28 13:31:47 2000 David L. Levine <levine@cs.wustl.edu>
+
+ * tests/run_test.pl: prefix exec of run_tests.sh with
+ $EXEPREFIX, so that it works without . in the user's
+ PATH. Thanks to Carlos for pointing this out.
+
Tue Nov 28 08:09:35 2000 David L. Levine <levine@cs.wustl.edu>
* tests/run_test.pl: added some more diagnostics to try
diff --git a/ChangeLogs/ChangeLog-02a b/ChangeLogs/ChangeLog-02a
index b7c60a9d40b..51bb61acf77 100644
--- a/ChangeLogs/ChangeLog-02a
+++ b/ChangeLogs/ChangeLog-02a
@@ -1,3 +1,9 @@
+Tue Nov 28 13:31:47 2000 David L. Levine <levine@cs.wustl.edu>
+
+ * tests/run_test.pl: prefix exec of run_tests.sh with
+ $EXEPREFIX, so that it works without . in the user's
+ PATH. Thanks to Carlos for pointing this out.
+
Tue Nov 28 08:09:35 2000 David L. Levine <levine@cs.wustl.edu>
* tests/run_test.pl: added some more diagnostics to try
diff --git a/ChangeLogs/ChangeLog-03a b/ChangeLogs/ChangeLog-03a
index b7c60a9d40b..51bb61acf77 100644
--- a/ChangeLogs/ChangeLog-03a
+++ b/ChangeLogs/ChangeLog-03a
@@ -1,3 +1,9 @@
+Tue Nov 28 13:31:47 2000 David L. Levine <levine@cs.wustl.edu>
+
+ * tests/run_test.pl: prefix exec of run_tests.sh with
+ $EXEPREFIX, so that it works without . in the user's
+ PATH. Thanks to Carlos for pointing this out.
+
Tue Nov 28 08:09:35 2000 David L. Levine <levine@cs.wustl.edu>
* tests/run_test.pl: added some more diagnostics to try
diff --git a/tests/run_test.pl b/tests/run_test.pl
index 78b77667200..6c689b2bcd5 100755
--- a/tests/run_test.pl
+++ b/tests/run_test.pl
@@ -13,18 +13,7 @@ require ACEutils;
if ($^O ne "MSWin32") {
#### On platforms other than Windows, use run_tests.sh because
#### it knows about the various test peculiarities.
-
- (my $scriptname = $0) =~ s/run_test.pl/run_tests.sh/;
- warn "$0: $scriptname does not exist!\n" unless -f "$scriptname";
-
- exec "$scriptname";
-
- if (! -x "$scriptname") {
- warn "$0: $scriptname is not executable!\n";
- print `ls -lL run_tests.sh`;
- }
- print "PATH: $ENV{'PATH'}\n";
- print `ls -lL /bin/sh`;
+ exec "${EXEPREFIX}run_tests.sh";
}
use Cwd;