Repository navigation
ci: pin the Linux Qt asset with QtTest and run every Qt test (#4837) - #5270
Merged
Merged
Conversation
…4837) test_qt_fastpath pins qt6-6.11.1-linux-x86_64-glibc2.28-release-testlib, the Linux Qt asset with QtTest (obs-rust/obs-studio-libs#32). A new case requires an empty KNOWN_SKIPS: every Qt test is built and run. The stale entry check now uses a patched list, so it still holds with an empty one. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The Qt Frontend Linux job pins qt6-6.11.1-linux-x86_64-glibc2.28-release- testlib (obs-rust/obs-studio-libs#32, published by its qt6.yml), which has QtTest. KNOWN_SKIPS is empty: the 8 Qt tests that need QtTest, among them the dock layout tests, are built and run in CI. Co-Authored-By: Claude Opus 5.5 <[email protected]>
test_cross_qt requires the cross build's host Qt to be the asset the Qt Frontend Linux job pins. The testlib asset is the same Qt 6.11.1 recipe with QtTest, so its host tools are unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #4837 (part 2 of 2; part 1 is #5265)
Problem
The Qt Frontend Linux job pins a Linux Qt asset without QtTest, so 8 Qt tests are not built (among them the dock layout tests of #2225, #3740 and #5230). #5265 lists them in
KNOWN_SKIPSand fails the job on any other skip.Change
build-project.yaml, Qt Frontend Linux job only: pinqt6-6.11.1-linux-x86_64-glibc2.28-release-testlib.tar.zst(sha256021cb3b0…dc6e). It is the same Qt 6.11.1 recipe with QtTest, published by obs-studio-libs'qt6.yml(qt6: build QtTest on Linux and publish the Linux asset from qt6.yml (obs-rust/obs-studio#4837) obs-studio-libs#32, run 44580951507, catalog commit 6393c81b7).ci/linux_qt_frontend.py:KNOWN_SKIPSis empty. Every Qt test fragment must now build, or the job fails.ci/test_linux_qt_frontend.py: the stale-entry check uses a patched list, so it still covers the guard while the real list is empty.cmake/cross/CMakeLists.txt: the cross build's host Qt follows the same pin (test_cross_qtrequires it). The testlib asset is the same recipe with QtTest, so the host tools are unchanged.ci/macos_qt_artifact.pykeeps the current asset: it uses Qt only as host tools, and no test ties it to the workflow pin.Tests
test_every_qt_test_is_built_and_runandtest_qt_fastpath.test_pinsfail; the other 19 pass. GREEN: 21/21. Run on Linux (build-rust, Ubuntu 26.04 container).ci/fetch_libs_asset.py): passes in 170 s, builds and runs 30 Qt tests (22 before), the 8 included, no skip.ci/local_gate.py --only self-test(all ci/ Python tests) on Linux after the cross pin fix 059815e: 397 ok.No features.md line (CI-only change).
🤖 Generated with Claude Code