aboutsummaryrefslogtreecommitdiff
path: root/testsuite/testing.sh
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/testing.sh
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/testing.sh')
-rwxr-xr-xtestsuite/testing.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/testsuite/testing.sh b/testsuite/testing.sh
index b7c85c227..83727f6d3 100755
--- a/testsuite/testing.sh
+++ b/testsuite/testing.sh
@@ -54,7 +54,7 @@ config_is_set ()
54 54
55# The testing function 55# The testing function
56 56
57testing() 57testing ()
58{ 58{
59 if [ $# -ne 5 ] 59 if [ $# -ne 5 ]
60 then 60 then
@@ -62,11 +62,11 @@ testing()
62 exit 62 exit
63 fi 63 fi
64 64
65 if [ "$debug" = "1" ] ; then 65 if [ $debug -eq 1 ] ; then
66 set -x 66 set -x
67 fi 67 fi
68 68
69 if [ -n "$_BB_CONFIG_DEP" ] && [ "${force}" = "0" ] 69 if [ -n "$_BB_CONFIG_DEP" ] && [ ${force} -eq 0 ]
70 then 70 then
71 if ! config_is_set "$_BB_CONFIG_DEP" 71 if ! config_is_set "$_BB_CONFIG_DEP"
72 then 72 then
@@ -85,7 +85,7 @@ testing()
85 then 85 then
86 ((FAILCOUNT++)) 86 ((FAILCOUNT++))
87 echo "FAIL: $1" 87 echo "FAIL: $1"
88 if [ "$verbose" = "1" ] 88 if [ $verbose -eq 1 ]
89 then 89 then
90 diff -u expected actual 90 diff -u expected actual
91 fi 91 fi
@@ -94,7 +94,7 @@ testing()
94 fi 94 fi
95 rm -f input expected actual 95 rm -f input expected actual
96 96
97 if [ "$debug" = "1" ] ; then 97 if [ $debug -eq 1 ] ; then
98 set +x 98 set +x
99 fi 99 fi
100 100