aboutsummaryrefslogtreecommitdiffstats
path: root/test/regression/funptr2.cond
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2018-08-24 14:02:43 +0200
committerXavier Leroy <xavier.leroy@inria.fr>2018-08-24 14:02:43 +0200
commit3f153b74876e0a5dce14402f98d2d348ecfacc95 (patch)
tree5834b6c5594168bee70dba1e893185a19416946d /test/regression/funptr2.cond
parent78ce76b87a7de88dcdf6d742428d5474dac19867 (diff)
downloadcompcert-kvx-3f153b74876e0a5dce14402f98d2d348ecfacc95.tar.gz
compcert-kvx-3f153b74876e0a5dce14402f98d2d348ecfacc95.zip
Improve execution of regression tests
- Make it possible to skip tests on some platforms - Make it possible to expect a failure (typically: of the reference interpreter) - Stop on error
Diffstat (limited to 'test/regression/funptr2.cond')
-rw-r--r--test/regression/funptr2.cond6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/regression/funptr2.cond b/test/regression/funptr2.cond
new file mode 100644
index 00000000..ab460efb
--- /dev/null
+++ b/test/regression/funptr2.cond
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+if test -n "$INTERP"
+then exit $EXPECT_FAIL
+else exit $RUN
+fi