From: Junio C Hamano Date: Wed, 14 Dec 2005 21:32:52 +0000 (-0800) Subject: Do not let errors pass by unnoticed when running `make check'. X-Git-Tag: v0.99.9n^2~4 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=773b6339435ab3bddecb9b78e49720e22124b52a;p=git.git Do not let errors pass by unnoticed when running `make check'. [jc: originally from Amos Waterland.] Signed-off-by: Junio C Hamano --- diff --git a/Makefile b/Makefile index 01b6643b..d494ad4b 100644 --- a/Makefile +++ b/Makefile @@ -449,7 +449,7 @@ test-delta$X: test-delta.c diff-delta.o patch-delta.o $(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $^ check: - for i in *.c; do sparse $(ALL_CFLAGS) $(SPARSE_FLAGS) $$i; done + for i in *.c; do sparse $(ALL_CFLAGS) $(SPARSE_FLAGS) $$i || exit; done