aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzach%zachlipton.com <>2002-11-10 11:50:31 +0000
committerzach%zachlipton.com <>2002-11-10 11:50:31 +0000
commitf1dc04d3d909fa8879f781f02c136bd18b526733 (patch)
tree63daae28a6a4e82f6f3d28e415664247448e556a /runtests.sh
parentAdding runtests.pl for bug 143155. runtests.sh will remain for a little (diff)
downloadbugzilla-f1dc04d3d909fa8879f781f02c136bd18b526733.tar.gz
bugzilla-f1dc04d3d909fa8879f781f02c136bd18b526733.tar.bz2
bugzilla-f1dc04d3d909fa8879f781f02c136bd18b526733.zip
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}