]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
And turn this into a stub for runtests.pl.
authorzach%zachlipton.com <>
Sun, 10 Nov 2002 11:50:31 +0000 (11:50 +0000)
committerzach%zachlipton.com <>
Sun, 10 Nov 2002 11:50:31 +0000 (11:50 +0000)
No review needed on tests (but review will be needed for all test changes
after this one)

runtests.sh

index f19134f9087e1051748205f76d730b1a7a81650b..164ec3acffea628eab712cb922932481ec90e5a0 100755 (executable)
@@ -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}