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
+5 -1
+5 -1
View File
@@ -52,9 +52,13 @@ if [ -z "$RUN_X86" ]; then
export PATH=.:$PATH export PATH=.:$PATH
;; ;;
*) *)
case $(uname -m) in
x86_64)
RUN_X86=wine RUN_X86=wine
;; ;;
esac esac
;;
esac
fi fi
@@ -80,7 +84,7 @@ for arch in $ARCHS; do
case $arch in case $arch in
i686|x86_64) i686|x86_64)
RUN="$RUN_X86" RUN="$RUN_X86"
COPY= COPY="$COPY_X86"
NATIVE="$NATIVE_X86" NATIVE="$NATIVE_X86"
;; ;;
armv7) armv7)