run-tests: Don't assume running on x86

Also use $COPY_X86 for consistency.
This commit is contained in:
Martin Storsjö committed 2021-07-01 22:36:54 +03:00
1 parent 1629861108
commit e2ad2d4b64
1 file changed
+6 -2
+6 -2
View File
@@ -52,7 +52,11 @@ if [ -z "$RUN_X86" ]; then
export PATH=.:$PATH
;;
*)
RUN_X86=wine
case $(uname -m) in
x86_64)
RUN_X86=wine
;;
esac
;;
esac
fi
@@ -80,7 +84,7 @@ for arch in $ARCHS; do
case $arch in
i686|x86_64)
RUN="$RUN_X86"
COPY=
COPY="$COPY_X86"
NATIVE="$NATIVE_X86"
;;
armv7)