Skip to content

ci: pin the Linux Qt asset with QtTest and run every Qt test (#4837) - #5270

Merged
vpacher merged 3 commits into
masterfrom
fix/4837-pin-qttest-asset
Nov 19, 2026
Merged

vpacher merged 3 commits into
masterfrom
fix/4837-pin-qttest-asset

Conversation

@vpacher

@vpacher vpacher commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

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_SKIPS and fails the job on any other skip.

Change

  • build-project.yaml, Qt Frontend Linux job only: pin qt6-6.11.1-linux-x86_64-glibc2.28-release-testlib.tar.zst (sha256 021cb3b0…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_SKIPS is 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_qt requires it). The testlib asset is the same recipe with QtTest, so the host tools are unchanged.
  • ci/macos_qt_artifact.py keeps the current asset: it uses Qt only as host tools, and no test ties it to the workflow pin.

Tests

  • RED 8a2c2cf: test_every_qt_test_is_built_and_run and test_qt_fastpath.test_pins fail; the other 19 pass. GREEN: 21/21. Run on Linux (build-rust, Ubuntu 26.04 container).
  • Real job on build-rust with the published asset (fetched and checked by ci/fetch_libs_asset.py): passes in 170 s, builds and runs 30 Qt tests (22 before), the 8 included, no skip.
  • The published asset's sha256 matches its catalog entry.
  • 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

vpacher and others added 2 commits November 19, 2026 19:25
…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]>
@vpacher
vpacher requested a review from zackees as a code owner November 19, 2026 18:28
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]>
@vpacher
vpacher added this pull request to the merge queue Nov 19, 2026
Merged via the queue into master with commit 81bb3fc Nov 19, 2026
45 checks passed
@vpacher
vpacher deleted the fix/4837-pin-qttest-asset branch November 19, 2026 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

ci: Qt Frontend Linux skips the QtTest-based tests (the Qt asset is built without QtTest)

1 participant