aboutsummaryrefslogtreecommitdiffstats
path: root/libglouglou/tests
diff options
context:
space:
mode:
Diffstat (limited to 'libglouglou/tests')
-rw-r--r--libglouglou/tests/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/libglouglou/tests/Makefile b/libglouglou/tests/Makefile
index 13f9de4..03295bb 100644
--- a/libglouglou/tests/Makefile
+++ b/libglouglou/tests/Makefile
@@ -11,16 +11,21 @@ $(TARGET): $(OBJECTS)
$(CC) $(CFLAGS) $(LDFLAGS) -o $(TARGET) $(OBJECTS)
run:
- @errors=0 ;\
+ @count=0 ;\
+ errors=0 ;\
for test in $(TARGET); do \
- echo -n "$$test " ;\
+ echo =============================================================================== ;\
+ echo $$test ;\
LD_LIBRARY_PATH=../ ./$$test ;\
if [ $$? -eq 0 ]; then \
echo OK ;\
else \
echo FAILED ;\
fi ;\
+ count=$$(($$count + 1)) ;\
done ;\
+ echo =============================================================================== ;\
+ echo "$$count tests executed, $$errors errors" ;\
exit $$errors
clean: