- Better implemented 'make check' in normal Makefile

This commit is contained in:
Paul Bakker 2009-07-28 20:16:47 +00:00
parent 3391b12ce3
commit d947d765e0

View File

@ -80,5 +80,10 @@ clean:
rm -f $(APPS) *.c
check: $(APPS)
echo "Running checks"
for i in $(APPS); do echo " - $${i}"; ./$${i} | grep PASSED; done
echo "Running checks (Success if all tests PASSED)"
for i in $(APPS); \
do \
echo " - $${i}"; \
./$${i} | grep -v 'PASS$$' | grep -v -- '-----' | grep -v '^$$'; \
echo ""; \
done