File: runtests.sh

package info (click to toggle)
bugzilla 2.16.7-7sarge2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 4,696 kB
  • ctags: 492
  • sloc: perl: 20,289; xml: 6,856; sh: 338; makefile: 211; python: 172
file content (12 lines) | stat: -rwxr-xr-x 250 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/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/bin/perl -e "${PART1}${TEST_VERBOSE}${PART2}" t/*.t