aboutsummaryrefslogtreecommitdiffstats
path: root/runtests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'runtests.sh')
-rwxr-xr-xruntests.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/runtests.sh b/runtests.sh
index f19134f90..164ec3acf 100755
--- a/runtests.sh
+++ b/runtests.sh
@@ -1,12 +1,10 @@
#!/bin/sh
TEST_VERBOSE=0
-PART1='use Test::Harness qw(&runtests $verbose); $verbose='
-PART2='; runtests @ARGV;'
for f in $*; do
if [ "$f" = "--verbose" ] ; then
- TEST_VERBOSE=1
+ TEST_VERBOSE="--verbose"
fi
done
-/usr/bonsaitools/bin/perl -e "${PART1}${TEST_VERBOSE}${PART2}" t/*.t
+/usr/bonsaitools/bin/perl runtests.pl ${TEST_VERBOSE}