Skip to content

Unify plot test declarations, deployment, and summaries - #23

Merged
imakris merged 1 commit into
masterfrom
codex/test-simplification-20261020
Oct 20, 2026
Merged

imakris merged 1 commit into
masterfrom
codex/test-simplification-20261020

Conversation

@imakris

@imakris imakris commented Oct 20, 2026

Copy link
Copy Markdown
Member

Why

The test CMake file maintained separate target, registration, runtime-deployment and summary inventories. They had drifted: the shader-reference runtime target was repeated and the QML module test was omitted from the printed summary.

Changes

Extend the existing local helper to create and register each executable and record its runtime needs. Derive deployment and summary entries from those declarations. Preserve CTest display names and order, optional text and Qt Quick conditions, source files, exceptional dependencies, test environment, and PackageSmoke viability/commands. Net reduction: 117 lines.

Validation

Eight evaluation-only CMake metadata comparisons preserve registration and target metadata across text ON/OFF, top-level/embedded, and Qt Quick present/absent modes. The Windows cases preserve the unique deployment target set and remove its duplicate; summaries cover every configured executable. git diff --check passes.

This metadata probe uses dependency placeholders and does not claim native build or runtime coverage. The public Linux and Windows text ON/OFF CI jobs are the native gate; keep draft until they pass.

Plot test targets, CTest registration, Windows deployment and configure summaries were maintained independently. The runtime list duplicated the shader-reference target, and the summary omitted the QML module test.

Extend the existing local helper to create and register each executable, preserving its CTest name and linked component while recording the target inventory. Use that inventory for Windows deployment and summaries; leave exceptional dependencies and PackageSmoke handling intact.
@imakris
imakris marked this pull request as ready for review October 20, 2026 09:07
@imakris
imakris merged commit 6d40fc7 into master Oct 20, 2026
12 checks passed
@imakris
imakris deleted the codex/test-simplification-20261020 branch October 20, 2026 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant