From c4496c4c63a01b2a7c1b89cca128ce0b55b50c29 Mon Sep 17 00:00:00 2001 From: Cyril SIX Date: Fri, 13 Sep 2019 16:11:15 +0200 Subject: Adding back "exit 2" to the test target of test/c/Makefile --- test/c/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/c') 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 -- cgit