|
@@ -18,6 +18,7 @@ JUNKBALLS=$(JUNKDIRS:%=$(WEBDIR)/%.tar.bz2)
|
|
|
include Makefile-ccan
|
|
include Makefile-ccan
|
|
|
|
|
|
|
|
check: $(ALL_DIRS:%=test-%)
|
|
check: $(ALL_DIRS:%=test-%)
|
|
|
|
|
+ echo $(ALL_DIRS)
|
|
|
|
|
|
|
|
distclean: clean
|
|
distclean: clean
|
|
|
rm -f $(ALL_DEPENDS)
|
|
rm -f $(ALL_DEPENDS)
|
|
@@ -82,6 +83,11 @@ test-ccan/%: tools/run_tests libccan.a(%.o)
|
|
|
@echo Testing $*...
|
|
@echo Testing $*...
|
|
|
@if tools/run_tests $(V) ccan/$* | grep ^'not ok'; then exit 1; else exit 0; fi
|
|
@if tools/run_tests $(V) ccan/$* | grep ^'not ok'; then exit 1; else exit 0; fi
|
|
|
|
|
|
|
|
|
|
+# Some don't have object files.
|
|
|
|
|
+test-ccan/%:: tools/run_tests
|
|
|
|
|
+ @echo Testing $*...
|
|
|
|
|
+ @if tools/run_tests $(V) ccan/$* | grep ^'not ok'; then exit 1; else exit 0; fi
|
|
|
|
|
+
|
|
|
ccanlint: tools/ccanlint/ccanlint
|
|
ccanlint: tools/ccanlint/ccanlint
|
|
|
|
|
|
|
|
clean: tools-clean
|
|
clean: tools-clean
|