summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstijn <stijn@ignitron.net>2024-03-26 16:11:11 +0100
committerDamien George <damien@micropython.org>2024-07-25 16:24:04 +1000
commit1f907a2f5cc912744442a1cdc3b08a19abccc71b (patch)
tree3f6ecb0209ef99d5c15774d0803b0c4e2cc81310
parenta0c7bf12d21bd51e8af4acab466a6c124c480fa7 (diff)
tests/run-tests.py: Make Windows test skipping more granular.
Signed-off-by: stijn <stijn@ignitron.net>
-rw-r--r--.github/workflows/ports_windows.yml2
-rwxr-xr-xtests/run-tests.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/ports_windows.yml b/.github/workflows/ports_windows.yml
index 7647749f7..91a3192a1 100644
--- a/.github/workflows/ports_windows.yml
+++ b/.github/workflows/ports_windows.yml
@@ -42,6 +42,8 @@ jobs:
configuration: Debug
- visualstudio: '2019'
configuration: Debug
+ env:
+ CI_BUILD_CONFIGURATION: ${{ matrix.configuration }}
runs-on: ${{ matrix.runner }}
steps:
- name: Install Visual Studio 2017
diff --git a/tests/run-tests.py b/tests/run-tests.py
index a91b3e9e9..e7ba0de56 100755
--- a/tests/run-tests.py
+++ b/tests/run-tests.py
@@ -580,7 +580,7 @@ def run_tests(pyb, tests, args, result_dir, num_threads=1):
if os.getenv("GITHUB_ACTIONS") == "true":
skip_tests.add("thread/stress_schedule.py") # has reliability issues
- if os.getenv("RUNNER_OS") == "Windows":
+ if os.getenv("RUNNER_OS") == "Windows" and os.getenv("CI_BUILD_CONFIGURATION") == "Debug":
# fails with stack overflow on Debug builds
skip_tests.add("misc/sys_settrace_features.py")