From 3f153b74876e0a5dce14402f98d2d348ecfacc95 Mon Sep 17 00:00:00 2001 From: Xavier Leroy Date: Fri, 24 Aug 2018 14:02:43 +0200 Subject: 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 --- test/regression/interop1.cond | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/regression/interop1.cond (limited to 'test/regression/interop1.cond') diff --git a/test/regression/interop1.cond b/test/regression/interop1.cond new file mode 100644 index 00000000..77904189 --- /dev/null +++ b/test/regression/interop1.cond @@ -0,0 +1,10 @@ +#!/bin/sh +arch=`sed -n -e 's/^ARCH=//p' ../../Makefile.config` +model=`sed -n -e 's/^MODEL=//p' ../../Makefile.config` +system=`sed -n -e 's/^SYSTEM=//p' ../../Makefile.config` + +case "$arch,$model,$system" in + *,*,cygwin) exit $SKIP;; + x86,32sse2,*|arm,*,*|powerpc,*,*) exit $RUN;; + *) exit $SKIP;; +esac -- cgit