From fe6d2a3abbaf4e8c10b04aab02c69c1b8c88b470 Mon Sep 17 00:00:00 2001 From: "justdave%syndicomm.com" <> Date: Sat, 1 Sep 2001 10:06:13 +0000 Subject: Added a --verbose option to runtests.sh that the tinderbox scripts can use to get all the warnings and errors and whatnot into the build log. Also corrected several syntax and logic errors in the 1.t test file. --- runtests.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'runtests.sh') diff --git a/runtests.sh b/runtests.sh index d220f7c20..c558fcf7d 100755 --- a/runtests.sh +++ b/runtests.sh @@ -1,3 +1,12 @@ #!/bin/sh -/usr/bonsaitools/bin/perl -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t +export VERBOSE=0 +PART1='use Test::Harness qw(&runtests $verbose); $verbose=' +PART2='; runtests @ARGV;' +for f in $*; do + if [ $f == "--verbose" ] ; then + export VERBOSE=1 + fi +done + +/usr/bonsaitools/bin/perl -e "${PART1}${VERBOSE}${PART2}" t/*.t -- cgit v1.2.3-24-g4f1b