From e21ad3bba2b90b902d787325b631d6f9e7216b5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Sun, 20 Apr 2025 23:38:36 +0300 Subject: [PATCH] run-tests, test-libcxx-module: Extend checks for MSYS to also check for CYGWIN --- run-tests.sh | 2 +- test-libcxx-module.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/run-tests.sh b/run-tests.sh index 6d5e42a..ca4bd17 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -129,7 +129,7 @@ set_native() { if [ -z "$RUN_X86_64" ] && [ -z "$RUN_I686" ] && [ -z "$RUN_ARMV7" ] && [ -z "$RUN_AARCH64" ]; then case $(uname) in - MINGW*|MSYS*) + MINGW*|MSYS*|CYGWIN*) # On Windows/arm64, we may be running x86_64 msys2 emulated, so we # can't rely on "uname -m" here. But the msys2 "uname" output indicates # the real host architecture, and the Windows build version. diff --git a/test-libcxx-module.sh b/test-libcxx-module.sh index 3a42a5c..4fe3856 100755 --- a/test-libcxx-module.sh +++ b/test-libcxx-module.sh @@ -27,7 +27,7 @@ export PATH=$PREFIX/bin:$PATH : ${ARCHS:=${TOOLCHAIN_ARCHS-i686 x86_64 armv7 aarch64}} case $(uname) in -MINGW*|MSYS*) +MINGW*|MSYS*|CYGWIN*) NATIVE=1 ;; *)