Merge branch 'makefile-fix' of github.com:onovy/todo.txt-cli into onovy-makefile-fix

* 'makefile-fix' of github.com:onovy/todo.txt-cli:
  Don't ignore errors in tests.
  Clean tests and version file in Makefile.
This commit is contained in:
Ali Karbassi
2017-08-23 10:17:39 -05:00

View File

@@ -27,8 +27,9 @@ dist: $(DISTFILES) todo.sh
rm -r $(DISTNAME) rm -r $(DISTNAME)
.PHONY: clean .PHONY: clean
clean: clean: test-pre-clean
rm -f $(DISTNAME).tar.gz $(DISTNAME).zip rm -f $(DISTNAME).tar.gz $(DISTNAME).zip
rm VERSION-FILE
install: install:
install --mode=755 todo.sh $(INSTALL_DIR) install --mode=755 todo.sh $(INSTALL_DIR)
@@ -48,7 +49,7 @@ test-pre-clean:
aggregate-results: $(TESTS) aggregate-results: $(TESTS)
$(TESTS): test-pre-clean $(TESTS): test-pre-clean
-cd tests && ./$(notdir $@) $(TEST_OPTIONS) cd tests && ./$(notdir $@) $(TEST_OPTIONS)
test: aggregate-results test: aggregate-results
tests/aggregate-results.sh tests/test-results/t*-* tests/aggregate-results.sh tests/test-results/t*-*