summaryrefslogtreecommitdiff
path: root/testsuite/runtest
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2005-10-06 12:48:03 +0000
committerBernhard Reutner-Fischer2005-10-06 12:48:03 +0000
commite34e8782a979b372c521d460511d82d87f5a3646 (patch)
tree149d7c0dc3bc772a93d8ae96bf39a0e357452a62 /testsuite/runtest
parentcf95e0b2d5f5dd0b0682bd4cc5959cf32427134f (diff)
downloadbusybox-e34e8782a979b372c521d460511d82d87f5a3646.zip
busybox-e34e8782a979b372c521d460511d82d87f5a3646.tar.gz
- support make check V=1 to run the checks in verbose mode
- pass verbose from runtest to testing.sh
Diffstat (limited to 'testsuite/runtest')
-rwxr-xr-xtestsuite/runtest6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuite/runtest b/testsuite/runtest
index 4ac1d3b..9fd2d0f 100755
--- a/testsuite/runtest
+++ b/testsuite/runtest
@@ -37,7 +37,7 @@ run_applet_testcase ()
if [ $? != 0 ] ; then
echo FAIL: $testname
- if [ "$verbose" = 1 ]; then
+ if [ $verbose -gt 0 ]; then
cat .logfile.txt
#exit 1;
fi;
@@ -77,14 +77,16 @@ run_applet_tests ()
status=0
+verbose=0
if [ x"$1" = x"-v" ]; then
verbose=1
+ export VERBOSE=$verbose
shift
fi
if [ $# -ne 0 ]; then
- applets="$@"
+ applets=$(cd $srcdir ; for i in $@; do ls ${i}* ; done)
else
applets=$(ls $srcdir)
fi