Regression loop: Properly return with an error code if a sub-make fails

This commit is contained in:
Michael Tautschnig 2016-04-14 23:04:07 +00:00
parent 498cb1fc69
commit 0e96b53de8
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
DIRS = ansi-c cbmc cpp
test:
$(foreach var,$(DIRS), $(MAKE) -C $(var) test;)
$(foreach var,$(DIRS), $(MAKE) -C $(var) test || exit 1;)