From d947d765e00a951ebb137110dae0ca883c43aae0 Mon Sep 17 00:00:00 2001 From: Paul Bakker Date: Tue, 28 Jul 2009 20:16:47 +0000 Subject: [PATCH] - Better implemented 'make check' in normal Makefile --- tests/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tests/Makefile b/tests/Makefile index e254aa461..a1d2eb8e4 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -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