From 9794cb4f03fdde064866f0fe4ac4c00ce4f5a09e Mon Sep 17 00:00:00 2001
From: Paul Bakker
Date: Tue, 28 Jul 2009 18:55:00 +0000
Subject: [PATCH] - Addec 'make check' to the standard Makefile
---
tests/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/Makefile b/tests/Makefile
index 0954defa5..e254aa461 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -79,3 +79,6 @@ test_suite_xtea: test_suite_xtea.c ../library/libpolarssl.a
clean:
rm -f $(APPS) *.c
+check: $(APPS)
+ echo "Running checks"
+ for i in $(APPS); do echo " - $${i}"; ./$${i} | grep PASSED; done