tests/run-tests.py: Make Windows test skipping more granular.

Signed-off-by: stijn <stijn@ignitron.net>
This commit is contained in:
stijn 2024-03-26 16:11:11 +01:00 committed by Damien George
parent a0c7bf12d2
commit 1f907a2f5c
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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")