summaryrefslogtreecommitdiffstats
path: root/runtests.sh
diff options
context:
space:
mode:
authorjake%acutex.net <>2001-10-20 07:39:46 +0200
committerjake%acutex.net <>2001-10-20 07:39:46 +0200
commited4af4249961a69449820e27b0baaf5116142b9e (patch)
tree09425865e2c77171faec1a1a66d2210b7dc6fdf7 /runtests.sh
parentb929c22527a9f97d4e03937d255542dfb5384f02 (diff)
downloadbugzilla-ed4af4249961a69449820e27b0baaf5116142b9e.tar.gz
bugzilla-ed4af4249961a69449820e27b0baaf5116142b9e.tar.xz
Bug 103664 - Tests should "use strict;" and not contain any tabs. We should also use the TEST_VERBOSE environment variable instead of VERBOSE.
Patch by David D. Kilzer <ddkilzer@theracingworld.com> Additional edits by myself to add the emacs mode line. Also, the change to runtests.sh was done by me.
Diffstat (limited to 'runtests.sh')
-rwxr-xr-xruntests.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtests.sh b/runtests.sh
index c558fcf7d..ab18e2e00 100755
--- a/runtests.sh
+++ b/runtests.sh
@@ -1,12 +1,12 @@
#!/bin/sh
-export VERBOSE=0
+export TEST_VERBOSE=0
PART1='use Test::Harness qw(&runtests $verbose); $verbose='
PART2='; runtests @ARGV;'
for f in $*; do
if [ $f == "--verbose" ] ; then
- export VERBOSE=1
+ export TEST_VERBOSE=1
fi
done
-/usr/bonsaitools/bin/perl -e "${PART1}${VERBOSE}${PART2}" t/*.t
+/usr/bonsaitools/bin/perl -e "${PART1}${TEST_VERBOSE}${PART2}" t/*.t