summaryrefslogtreecommitdiffstats
path: root/runtests.sh
diff options
context:
space:
mode:
authorjake%acutex.net <>2001-10-25 03:41:49 +0200
committerjake%acutex.net <>2001-10-25 03:41:49 +0200
commit3d46ba59b73c584ab534896c2ae61398ef3940d9 (patch)
tree1a7bb625032e6d1919a5d2728d2068da250bed99 /runtests.sh
parent1339fc04ffb9046614d71202b3b0c97b453f7f24 (diff)
downloadbugzilla-3d46ba59b73c584ab534896c2ae61398ef3940d9.tar.gz
bugzilla-3d46ba59b73c584ab534896c2ae61398ef3940d9.tar.xz
Don't rely on the TEST_VERBOSE environment variable (no longer exported from runtests.sh) and instead print to the TESTOUT file handle pulled in from Test::More. This will allow the testing backend to check for verbosity rather than having to handle it in the .t files.
Diffstat (limited to 'runtests.sh')
-rwxr-xr-xruntests.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtests.sh b/runtests.sh
index ab18e2e00..7b67b1761 100755
--- a/runtests.sh
+++ b/runtests.sh
@@ -1,11 +1,11 @@
#!/bin/sh
-export TEST_VERBOSE=0
+TEST_VERBOSE=0
PART1='use Test::Harness qw(&runtests $verbose); $verbose='
PART2='; runtests @ARGV;'
for f in $*; do
if [ $f == "--verbose" ] ; then
- export TEST_VERBOSE=1
+ TEST_VERBOSE=1
fi
done