From c6567a3f0a16050fd04469fdcc7a575f81c0c8f4 Mon Sep 17 00:00:00 2001 From: Xavier Leroy Date: Fri, 21 Aug 2015 14:30:05 +0200 Subject: test/regression: test packedstruct1 only if unaligned accesses are supported. Also: exit on error when a test fails. --- test/c/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/c') diff --git a/test/c/Makefile b/test/c/Makefile index a81a9d5c..59a0d834 100644 --- a/test/c/Makefile +++ b/test/c/Makefile @@ -38,7 +38,7 @@ test: @for i in $(PROGS); do \ if ./$$i.compcert | cmp -s - Results/$$i; \ then echo "$$i: passed"; \ - else echo "$$i: FAILED"; \ + else echo "$$i: FAILED"; exit 2; \ fi; \ done -- cgit