https://bugs.winehq.org/show_bug.cgi?id=56179
Bug ID: 56179 Summary: GitLab fails to run some tests on Windows due to lack of PARENTSRC support Product: WineHQ Gitlab Version: unspecified Hardware: x86-64 OS: Windows Status: NEW Severity: normal Priority: P2 Component: gitlab-unknown Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
GitLab does not take PARENTSRC into account when running the Windows tests.
For instance MR!4837 introduces a failure in xaudio2_8:xaudio2: https://gitlab.winehq.org/wine/wine/-/merge_requests/4837/diffs
And yet the 32-bit Windows job shows no failure: https://gitlab.winehq.org/fgouget/wine/-/jobs/48209
While the 32-bit Linux job shows the expected failure: https://gitlab.winehq.org/fgouget/wine/-/jobs/48208
This is actually obvious given that the code that builds the list of tests to run on Windows (winetest.args) contains no reference to PARENTSRC:
- git diff --name-only $CI_MERGE_REQUEST_DIFF_BASE_SHA | sed -re '//tests//!d; s@/tests/.*@/tests/Makefile.in@' | (xargs -r ls 2>/dev/null || true) | xargs -r sed '/TESTDLL/!d; s@.dll@@; s@.*= *@@' >usr/local/share/wine/winetest.args