From ddf2917711a03050a53a13dd92b3d6b95b9a9a6b Mon Sep 17 00:00:00 2001 From: Aleksandra Pasek Date: Wed, 20 Sep 2023 16:48:02 -0400 Subject: [PATCH] Limit windows-specifc test to windows targets only Test os__process__priority_win32 is a windows test, however its yaml file used the build os to limit its runs to windows. Change that to target os in order to account for testing now running on windows-hosted cross-linux targets. Issue: gnatcoll-core#6 --- testsuite/tests/os/process/priority_win32/test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testsuite/tests/os/process/priority_win32/test.yaml b/testsuite/tests/os/process/priority_win32/test.yaml index c26d3a76..871a2423 100644 --- a/testsuite/tests/os/process/priority_win32/test.yaml +++ b/testsuite/tests/os/process/priority_win32/test.yaml @@ -1,4 +1,4 @@ title: GNATCOLL.OS.Process Priority Tests (High Level API) control: - - ["SKIP", "env.build.os.name != 'windows'", "Win32 only test"] + - ["SKIP", "'windows' not in env.target.os.name", "Win32 only test"] data: ["test_data/*.py"]