зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
5f4e9f0e33
Коммит
875df8157a
|
@ -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}
|
||||
|
|
Загрузка…
Ссылка в новой задаче