summaryrefslogtreecommitdiffstats
path: root/runtests.sh
diff options
context:
space:
mode:
authorzach%zachlipton.com <>2002-11-10 12:50:31 +0100
committerzach%zachlipton.com <>2002-11-10 12:50:31 +0100
commitf1dc04d3d909fa8879f781f02c136bd18b526733 (patch)
tree63daae28a6a4e82f6f3d28e415664247448e556a /runtests.sh
parent987edac54f7b52b570fa163ca4b1d53d1cd918de (diff)
downloadbugzilla-f1dc04d3d909fa8879f781f02c136bd18b526733.tar.gz
bugzilla-f1dc04d3d909fa8879f781f02c136bd18b526733.tar.xz
And turn this into a stub for runtests.pl.
No review needed on tests (but review will be needed for all test changes after this one)
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}