aboutsummaryrefslogtreecommitdiffstats
path: root/test/c
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2015-08-21 14:30:05 +0200
committerXavier Leroy <xavier.leroy@inria.fr>2015-08-21 14:30:05 +0200
commitc6567a3f0a16050fd04469fdcc7a575f81c0c8f4 (patch)
tree8c1dfa91baed0bd325a8691d7ccddd8f8d802be2 /test/c
parent806872b5a7c8dc4e69e7b36bd49019af2871c70e (diff)
downloadcompcert-kvx-c6567a3f0a16050fd04469fdcc7a575f81c0c8f4.tar.gz
compcert-kvx-c6567a3f0a16050fd04469fdcc7a575f81c0c8f4.zip
test/regression: test packedstruct1 only if unaligned accesses are supported.
Also: exit on error when a test fails.
Diffstat (limited to 'test/c')
-rw-r--r--test/c/Makefile2
1 files changed, 1 insertions, 1 deletions
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