diff options
author | Rob Landley <rob@landley.net> | 2005-09-20 18:19:34 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2005-09-20 18:19:34 +0000 |
commit | 52d2f4bd90a2756d3d89b486a55238048d2e8f7e (patch) | |
tree | 99e9544bf1b9a585e97b7b012fb2a2bfc723ab2c | |
parent | 90252bb4c9bedcd25317baf60a26906834638656 (diff) | |
download | busybox-52d2f4bd90a2756d3d89b486a55238048d2e8f7e.tar.gz |
Get "make check" ($srcdir) to work with the new testsuite.
-rwxr-xr-x | testsuite/runtest | 5 |
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 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 |