aboutsummaryrefslogtreecommitdiffstats
path: root/test/c/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'test/c/Makefile')
-rw-r--r--test/c/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/c/Makefile b/test/c/Makefile
index b2d83352..7aee6c4f 100644
--- a/test/c/Makefile
+++ b/test/c/Makefile
@@ -45,7 +45,7 @@ test: all
$(EXECUTE) ./$$i.compcert > $$i.compcert.out;\
if cmp -s $$i.compcert.out Results/$$i; \
then echo "$$i: passed"; \
- else echo "$$i: FAILED"; \
+ else echo "$$i: FAILED"; exit 2; \
fi; \
done
@@ -54,7 +54,7 @@ test_gcc: all_gcc
$(EXECUTE) ./$$i.gcc > $$i.gcc.out;\
if cmp -s $$i.gcc.out Results/$$i; \
then echo "$$i: passed"; \
- else echo "$$i: FAILED"; \
+ else echo "$$i: FAILED"; exit 2;\
fi; \
done