Repository navigation
Conversation
|
Independent check of 22788c9 against aa2988c. The three focused Python tests passed with synthetic artifact metadata. They covered skipping unrelated commands, diagnosing missing inputs, and passing the mapped pipeline tool and test directory to the stubbed launcher with the CTest timeout. The Windows artifact includes the executable and DLL paths used by the loader checks. The hosted Runtime run is awaiting action, so this does not verify the new required Wine cases end to end. This complements #3792. This PR runs known CMake script commands with locally mapped paths. #3792 orders CTest FIXTURES_SETUP and FIXTURES_REQUIRED tests and reports setup failures to consumers. Both touch run_test, so the branches should preserve both behaviors when combined. AI-assisted. |
Kam471
left a comment
There was a problem hiding this comment.
Ran this at 22788c9a on Windows 11: python -I tests/test_run_wine_tests.py -> 55 tests, OK (5 skipped); compileall and git diff --check clean.
The new cases recognize the loader and pipeline-checker CMake fixtures from the Windows CTest inventory and keep the non-fixture commands unchanged; the skips are the host-only Wine cases. The workflow no longer reconstructs the async loader command separately, so the Wine report and the Windows report now cover the same fixture set. No blocking issue; this supersedes #3961 as stated.
|
I checked the interaction with #3792 at The combined runner passed all 56 runner tests and all five fixture-order tests. I also exercised an actual local CMake consumer listed ahead of its setup in the inventory, using |
Claim in coordination #3918. Supersedes #3961.
What and why
The Windows CTest inventory records CMake script tests as commands for the Windows build runner.
run_wine_tests.pyskipped them all, and the workflow separately reconstructed the async loader command. That left the other loader checks and the pipeline-checker CLI outside the normal Wine test report.Recognize the repository's loader and pipeline-checker CMake fixtures in the inventory. Invoke the Linux CMake with the corresponding checkout script and mapped artifact paths, and have the fixture use the configured Wine command. The results use the same timeout, status and summary handling as the direct executable tests. The workflow now requires the async, dynamic GDK and bundled-DLL checks through this path. The testing guide includes the command for a downloaded Windows CI artifact.
Tested
49475796and its matching scripts gave 16 passed, 0 failed, 0 skipped in a selected loader and CLI run. The artifact root contained spaces. The same inventory's four CMake fixtures were skipped by the old runner and all passed with this change: async, dynamic GDK, bundled DLL, and pipeline-checker CLI.Synthetic fixtures only. AI-assisted (Codex).
Integration with Wine timeouts
The CMake launch assertion now checks the subprocess handle, so it works with both launch paths. All 55 standalone runner tests passed and all 56 passed in a clean trial merge with #4589. On Wine 10.0, a timed-out CMake fixture from that combined runner stopped its Windows helper before the next test, which passed under the same prefix. Synthetic fixtures only.