Skip to content

Commit 1d97d40

Browse files
committed
fix(tests): linux tests from macOS/Windows arm64
When running on arm64, macOS reports machine as `arm64` and Windows as `ARM64`. We need to override this to `aarch64` when running linux tests.
1 parent f8894e6 commit 1d97d40

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/utils.py

+3
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,9 @@ def expected_wheels(
147147

148148
if machine_arch is None:
149149
machine_arch = pm.machine()
150+
if platform == "linux" and machine_arch.lower() == "arm64":
151+
# we're running linux tests from macOS/Windows arm64, override platform
152+
machine_arch = "aarch64"
150153

151154
if manylinux_versions is None:
152155
if machine_arch == "x86_64":

0 commit comments

Comments
 (0)