Browse Source

Don't print full fail results on normal check

Rusty Russell 16 years ago
parent
commit
c10aab2489
1 changed files with 5 additions and 1 deletions
  1. 5 1
      Makefile

+ 5 - 1
Makefile

@@ -24,7 +24,7 @@ default: libccan.a
 
 
 include Makefile-ccan
 include Makefile-ccan
 
 
-check: $(ALL_TESTS:%=check-%)
+check: $(ALL_TESTS:%=summary-check-%)
 
 
 distclean: clean
 distclean: clean
 	rm -f $(ALL_DEPENDS)
 	rm -f $(ALL_DEPENDS)
@@ -34,6 +34,10 @@ $(ALL_DEPENDS): %/.depends: %/_info tools/ccan_depends
 
 
 # Actual dependencies are created in inter-depends
 # Actual dependencies are created in inter-depends
 check-%: tools/ccanlint/ccanlint
 check-%: tools/ccanlint/ccanlint
+	@tools/ccanlint/ccanlint -d ccan/$*
+
+# Doesn't test dependencies, doesn't print verbose fail results.
+summary-check-%: tools/ccanlint/ccanlint $(OBJFILES)
 	@tools/ccanlint/ccanlint -s -d ccan/$*
 	@tools/ccanlint/ccanlint -s -d ccan/$*
 
 
 ccan/%/info: ccan/%/_info
 ccan/%/info: ccan/%/_info