aboutsummaryrefslogtreecommitdiff
path: root/testsuite/runtest
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2005-10-06 12:48:03 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2005-10-06 12:48:03 +0000
commite34e8782a979b372c521d460511d82d87f5a3646 (patch)
tree149d7c0dc3bc772a93d8ae96bf39a0e357452a62 /testsuite/runtest
parentcf95e0b2d5f5dd0b0682bd4cc5959cf32427134f (diff)
downloadbusybox-w32-e34e8782a979b372c521d460511d82d87f5a3646.tar.gz
busybox-w32-e34e8782a979b372c521d460511d82d87f5a3646.tar.bz2
busybox-w32-e34e8782a979b372c521d460511d82d87f5a3646.zip
- 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 4ac1d3bfe..9fd2d0f13 100755
--- a/testsuite/runtest
+++ b/testsuite/runtest
@@ -37,7 +37,7 @@ run_applet_testcase ()
37 37
38 if [ $? != 0 ] ; then 38 if [ $? != 0 ] ; then
39 echo FAIL: $testname 39 echo FAIL: $testname
40 if [ "$verbose" = 1 ]; then 40 if [ $verbose -gt 0 ]; then
41 cat .logfile.txt 41 cat .logfile.txt
42 #exit 1; 42 #exit 1;
43 fi; 43 fi;
@@ -77,14 +77,16 @@ run_applet_tests ()
77 77
78 78
79status=0 79status=0
80verbose=0
80 81
81if [ x"$1" = x"-v" ]; then 82if [ x"$1" = x"-v" ]; then
82 verbose=1 83 verbose=1
84 export VERBOSE=$verbose
83 shift 85 shift
84fi 86fi
85 87
86if [ $# -ne 0 ]; then 88if [ $# -ne 0 ]; then
87 applets="$@" 89 applets=$(cd $srcdir ; for i in $@; do ls ${i}* ; done)
88else 90else
89 applets=$(ls $srcdir) 91 applets=$(ls $srcdir)
90fi 92fi