- support make check V=1 to run the checks in verbose mode

- pass verbose from runtest to testing.sh
This commit is contained in:
Bernhard Reutner-Fischer
2005-10-06 12:48:03 +00:00
parent cf95e0b2d5
commit e34e8782a9
3 changed files with 20 additions and 8 deletions

View File

@@ -216,9 +216,19 @@ uninstall: busybox.links
install-hardlinks: $(top_srcdir)/applets/install.sh busybox busybox.links
$(SHELL) $< $(PREFIX) --hardlinks
# see if we are in verbose mode
KBUILD_VERBOSE :=
ifdef V
ifeq ("$(origin V)", "command line")
KBUILD_VERBOSE := $(V)
endif
endif
ifneq ($(strip $(KBUILD_VERBOSE)),)
CHECK_VERBOSE := -v
endif
check test: busybox
bindir=$(top_builddir) srcdir=$(top_srcdir)/testsuite \
$(top_srcdir)/testsuite/runtest
$(top_srcdir)/testsuite/runtest $(CHECK_VERBOSE)
sizes:
-rm -f busybox