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.lorimer.id.au/gitweb.git/diff_plain/773b6339435ab3bddecb9b78e49720e22124b52a?hp=9a26dbd120110ad4e07d3047abc13d615183c8ec 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 01b6643bdf..d494ad4b1f 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