Skip to content

Commit ebc0749

Browse files
committed
Refine test skipping logic
1 parent d501d6e commit ebc0749

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libnode/scripts/test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import os
22
import subprocess
3-
import sys
3+
import platform
44

55
from . import config
66

@@ -20,7 +20,7 @@
2020

2121
test_command = ["cargo", "test", "--target", config.target_triple, "-vv", "--release"]
2222

23-
if sys.platform == 'darwin' and config.arch == 'arm64':
23+
if config.arch == 'arm64' and platform.processor() != 'arm':
2424
test_command += [ "--no-run" ]
2525
else:
2626
test_command += [ "--", "--nocapture" ]

0 commit comments

Comments
 (0)