gecko-dev/webtools/bugzilla/runtests.sh
myk%mozilla.org ba6d753340 Fix for bug 136227: Corrects syntax error in bash script.
Patch by David Kilzer <ddkilzer@theracingworld.com>.
2xr=afranke
2002-04-12 21:15:45 +00:00

13 lines
262 B
Bash
Executable File

#!/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
fi
done
/usr/bonsaitools/bin/perl -e "${PART1}${TEST_VERBOSE}${PART2}" t/*.t