From 2a5eed1ecd43309200229e8611c596ca4c1d7b6d Mon Sep 17 00:00:00 2001 From: landley Date: Tue, 20 Sep 2005 18:19:34 +0000 Subject: Get "make check" ($srcdir) to work with the new testsuite. git-svn-id: svn://busybox.net/trunk/busybox@11512 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- testsuite/runtest | 5 +++-- 1 file 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 fi for applet in $applets; do + if [ "$applet" == links ]; then continue; fi if [ "$applet" != CVS -a -d "$srcdir/$applet" ]; then if run_applet_tests $applet; then : @@ -102,8 +103,8 @@ for applet in $applets; do then mkdir links 2>/dev/null rm -f links/"$applet" - ln -s ../../busybox links/"$applet" - PATH=links:$PATH ./"$applet".tests + ln -s ${bindir:-../..}/busybox links/"$applet" + PATH="$srcdir:$PATH" COMMAND="links/$applet" "${srcdir:-.}/$applet".tests if [ $? -ne 0 ]; then status=1; fi fi -- cgit v1.2.3-55-g6feb