Make builds fail when the tests fail

This commit is contained in:
2016-03-27 12:23:49 -07:00
parent d9a31feaa5
commit 66dfc55616
2 changed files with 3 additions and 1 deletions

View File

@@ -32,7 +32,7 @@ run: boot.img
.PHONY: test .PHONY: test
test: test:
cd tests && make clean && ../dependencies/bin/shunit.sh -f $(TEST_FORMAT) -t test.sh cd tests && make clean && ../dependencies/bin/shunit.sh -f $(TEST_FORMAT) -t test.sh ; exit $$?
.PHONY: clean .PHONY: clean
clean: clean:

View File

@@ -54,3 +54,5 @@ do
done done
${FORMATTER}_footer ${FORMATTER}_footer
exit $(expr ${SHUNIT_FAILURES} + ${SHUNIT_ERRORS})