Allow running tests remotely for armv7/aarch64
This commit is contained in:
1 parent
010854bb20
commit
7c069cf6b1
1 file changed
+21
-5
+21
-5
@@ -17,10 +17,26 @@ for arch in $ARCHS; do
|
|||||||
$arch-w64-mingw32-clang hello-tls.c -o hello-tls-$arch.exe
|
$arch-w64-mingw32-clang hello-tls.c -o hello-tls-$arch.exe
|
||||||
$arch-w64-mingw32-clang++ hello.cpp -o hello-cpp-$arch.exe -fno-exceptions
|
$arch-w64-mingw32-clang++ hello.cpp -o hello-cpp-$arch.exe -fno-exceptions
|
||||||
$arch-w64-mingw32-clang++ hello-exception.cpp -o hello-exception-$arch.exe
|
$arch-w64-mingw32-clang++ hello-exception.cpp -o hello-exception-$arch.exe
|
||||||
if [ "$arch" = "i686" ] || [ "$arch" = "x86_64" ]; then
|
case $arch in
|
||||||
wine hello-$arch.exe
|
i686|x86_64)
|
||||||
wine hello-tls-$arch.exe
|
RUN=wine
|
||||||
wine hello-cpp-$arch.exe
|
COPY=
|
||||||
wine hello-exception-$arch.exe
|
;;
|
||||||
|
armv7)
|
||||||
|
RUN="$RUN_ARMV7"
|
||||||
|
COPY="$COPY_ARMV7"
|
||||||
|
;;
|
||||||
|
aarch64)
|
||||||
|
RUN="$RUN_AARCH64"
|
||||||
|
COPY="$COPY_AARCH64"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
for file in hello-$arch.exe hello-tls-$arch.exe hello-cpp-$arch.exe hello-exception-$arch.exe; do
|
||||||
|
if [ -n "$COPY" ]; then
|
||||||
|
$COPY $file
|
||||||
|
fi
|
||||||
|
if [ -n "$RUN" ]; then
|
||||||
|
$RUN $file
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
done
|
||||||
Reference in new issue
Block a user