Skip to content

ci: fail the Qt job when a Qt test fragment has no target (#4837) - #5265

Merged
vpacher merged 2 commits into
masterfrom
fix/4837-qt-skip-guard
Nov 19, 2026
Merged

vpacher merged 2 commits into
masterfrom
fix/4837-qt-skip-guard

Conversation

@vpacher

@vpacher vpacher commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

Refs #4837 (part 1 of 2)

Problem

The Qt Frontend Linux job prints a line for each Qt test fragment that has no target, and passes. The pinned Qt asset has no QtTest, so 8 Qt tests (among them the dock layout tests of #2225, #3740 and #5230) never run in CI, and a change that breaks them passes.

Change

Tests

  • RED 591566b: the 3 new cases in ci/test_linux_qt_frontend.py fail (unlisted skip passes, no list, a listed test that builds passes); the 8 existing cases pass. Run on Linux (build-rust, Ubuntu 26.04 container).
  • GREEN: 11/11 pass.
  • Real job on build-rust, with the pinned CI Qt asset: passes (rc 0), and the log lists the 8 known skips with their reason.
  • Same job with a local Qt 6.11.1 build that has QtTest: fails (rc 1) with "builds now, remove it from KNOWN_SKIPS" for all 8 tests, which is the signal for part 2.

Documentation-only parts: none. No features.md line (CI-only change, no user-visible behavior).

🤖 Generated with Claude Code

vpacher and others added 2 commits November 19, 2026 18:19
The Qt Frontend Linux job prints a line for each Qt test fragment that has
no target and passes. A missing Qt module hid 8 tests this way (QtTest is
not in the pinned Qt asset). The new cases require a failure for an
unlisted skip, a failure for a listed skip that builds again, and a reason
for every listed skip.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
A Qt test fragment without a target now fails the Qt Frontend Linux job,
unless KNOWN_SKIPS lists it with a reason. The list starts with the 8 tests
that need QtTest, which the pinned Qt asset does not have. A listed test
that builds also fails the job, so the entry goes once the asset with
QtTest is pinned.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@vpacher
vpacher requested a review from zackees as a code owner November 19, 2026 17:26
@vpacher
vpacher added this pull request to the merge queue Nov 19, 2026
Merged via the queue into master with commit 5668901 Nov 19, 2026
43 checks passed
@vpacher
vpacher deleted the fix/4837-qt-skip-guard branch November 19, 2026 18:22
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.

1 participant