summaryrefslogtreecommitdiffstats
path: root/runtests.sh
blob: c558fcf7dc29058b5045ae7fd5c6319392cb2921 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

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