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