X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=Makefile;h=222a9b22146c516476d9ae2ae816a00636c5ad25;hb=0018a89106977814194a442e6219ef400ebfb35d;hp=4e49797456302ff8bad93620071cbf132c4db601;hpb=b776447468fc28a0bbf9ff997d784e7a4cd0018e;p=ccan-lca-2011.git diff --git a/Makefile b/Makefile index 4e49797..222a9b2 100644 --- a/Makefile +++ b/Makefile @@ -18,6 +18,7 @@ JUNKBALLS=$(JUNKDIRS:%=$(WEBDIR)/%.tar.bz2) include Makefile-ccan check: $(ALL_DIRS:%=test-%) + echo $(ALL_DIRS) distclean: clean rm -f $(ALL_DEPENDS) @@ -82,6 +83,11 @@ test-ccan/%: tools/run_tests libccan.a(%.o) @echo Testing $*... @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 clean: tools-clean