tests: don't run using wine on mingw

This commit is contained in:
Steve Lhomme authored and Martin Storsjö committed 2019-03-12 10:41:42 +02:00
1 parent 4b537369ca
commit 3de09f9e25
1 file changed
+13 -1
+13 -1
View File
@@ -11,6 +11,18 @@ export PATH=$PREFIX/bin:$PATH
: ${ARCHS:=${TOOLCHAIN_ARCHS-i686 x86_64 armv7 aarch64}}
if [ -z "$RUN_X86" ]; then
case $(uname) in
MINGW*)
RUN_X86=
;;
*)
RUN_X86=wine
;;
esac
fi
cd test
TESTS_C="hello hello-tls crt-test setjmp"
TESTS_C_DLL="autoimport-lib"
@@ -68,7 +80,7 @@ for arch in $ARCHS; do
DLL="$TESTS_C_DLL $TESTS_CPP_DLL"
case $arch in
i686|x86_64)
RUN=wine
RUN="$RUN_X86"
COPY=
;;
armv7)