aboutsummaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-09-20 18:19:34 +0000
committerlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-09-20 18:19:34 +0000
commit2a5eed1ecd43309200229e8611c596ca4c1d7b6d (patch)
tree99e9544bf1b9a585e97b7b012fb2a2bfc723ab2c /testsuite
parentccbc974c6ebf495fb3ca8a87eecdcaaedad9103f (diff)
downloadbusybox-w32-2a5eed1ecd43309200229e8611c596ca4c1d7b6d.tar.gz
busybox-w32-2a5eed1ecd43309200229e8611c596ca4c1d7b6d.tar.bz2
busybox-w32-2a5eed1ecd43309200229e8611c596ca4c1d7b6d.zip
Get "make check" ($srcdir) to work with the new testsuite.
git-svn-id: svn://busybox.net/trunk/busybox@11512 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/runtest5
1 files changed, 3 insertions, 2 deletions
diff --git a/testsuite/runtest b/testsuite/runtest
index 6e43fce8e..7411aec64 100755
--- a/testsuite/runtest
+++ b/testsuite/runtest
@@ -90,6 +90,7 @@ else
90fi 90fi
91 91
92for applet in $applets; do 92for applet in $applets; do
93 if [ "$applet" == links ]; then continue; fi
93 if [ "$applet" != CVS -a -d "$srcdir/$applet" ]; then 94 if [ "$applet" != CVS -a -d "$srcdir/$applet" ]; then
94 if run_applet_tests $applet; then 95 if run_applet_tests $applet; then
95 : 96 :
@@ -102,8 +103,8 @@ for applet in $applets; do
102 then 103 then
103 mkdir links 2>/dev/null 104 mkdir links 2>/dev/null
104 rm -f links/"$applet" 105 rm -f links/"$applet"
105 ln -s ../../busybox links/"$applet" 106 ln -s ${bindir:-../..}/busybox links/"$applet"
106 PATH=links:$PATH ./"$applet".tests 107 PATH="$srcdir:$PATH" COMMAND="links/$applet" "${srcdir:-.}/$applet".tests
107 if [ $? -ne 0 ]; then status=1; fi 108 if [ $? -ne 0 ]; then status=1; fi
108 fi 109 fi
109 110