svn commit: trunk/busybox/testsuite

landley at busybox.net landley at busybox.net
Tue Sep 20 18:19:36 UTC 2005


Author: landley
Date: 2005-09-20 11:19:34 -0700 (Tue, 20 Sep 2005)
New Revision: 11512

Log:
Get "make check" ($srcdir) to work with the new testsuite.


Modified:
   trunk/busybox/testsuite/runtest


Changeset:
Modified: trunk/busybox/testsuite/runtest
===================================================================
--- trunk/busybox/testsuite/runtest	2005-09-20 15:23:36 UTC (rev 11511)
+++ trunk/busybox/testsuite/runtest	2005-09-20 18:19:34 UTC (rev 11512)
@@ -90,6 +90,7 @@
 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 @@
 	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
 




More information about the busybox-cvs mailing list