And turn this into a stub for runtests.pl.

No review needed on tests (but review will be needed for all test changes
after this one)
This commit is contained in:
zach%zachlipton.com 2002-11-10 03:50:31 +00:00
Родитель 5f4e9f0e33
Коммит 875df8157a
1 изменённых файлов: 2 добавлений и 4 удалений

Просмотреть файл

@ -1,12 +1,10 @@
#!/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
TEST_VERBOSE="--verbose"
fi
done
/usr/bonsaitools/bin/perl -e "${PART1}${TEST_VERBOSE}${PART2}" t/*.t
/usr/bonsaitools/bin/perl runtests.pl ${TEST_VERBOSE}