svn commit: trunk/busybox

vda at busybox.net vda at busybox.net
Thu Apr 10 19:59:20 UTC 2008


Author: vda
Date: 2008-04-10 12:59:20 -0700 (Thu, 10 Apr 2008)
New Revision: 21692

Log:
fix "make check"



Modified:
   trunk/busybox/Makefile
   trunk/busybox/Makefile.custom


Changeset:
Modified: trunk/busybox/Makefile
===================================================================
--- trunk/busybox/Makefile	2008-04-10 19:25:10 UTC (rev 21691)
+++ trunk/busybox/Makefile	2008-04-10 19:59:20 UTC (rev 21692)
@@ -361,7 +361,8 @@
 # of make so .config is not included in this case either (for *config).
 
 no-dot-config-targets := clean mrproper distclean \
-			 cscope TAGS tags help %docs check%
+			 cscope TAGS tags help %docs
+#bbox# check% is removed from above
 
 config-targets := 0
 mixed-targets  := 0

Modified: trunk/busybox/Makefile.custom
===================================================================
--- trunk/busybox/Makefile.custom	2008-04-10 19:25:10 UTC (rev 21691)
+++ trunk/busybox/Makefile.custom	2008-04-10 19:59:20 UTC (rev 21692)
@@ -46,9 +46,13 @@
 	done
 endif
 
+# Not very elegant: copies testsuite to objdir...
+.PHONY: check
+.PHONY: test
 check test: busybox busybox.links
-	bindir=$(objtree) srcdir=$(srctree)/testsuite SED="$(SED)" \
-	$(SHELL) $(srctree)/testsuite/runtest $(if $(KBUILD_VERBOSE:0=),-v)
+	test -d $(objtree)/testsuite || cp -a $(srctree)/testsuite $(objtree)
+	bindir=$(objtree) srcdir=$(srctree)/testsuite \
+	$(SHELL) -c "cd $(objtree)/testsuite && $(srctree)/testsuite/runtest $(if $(KBUILD_VERBOSE:0=),-v)"
 
 .PHONY: release
 release: distclean




More information about the busybox-cvs mailing list