- Better implemented 'make check' in normal Makefile
diff --git a/tests/Makefile b/tests/Makefile
index e254aa4..a1d2eb8 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -80,5 +80,10 @@
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