Skip to content

test: stop pinning the graphics, vlc, webrtc and qt cmocka counts (Refs #1997) - #2001

Merged
zackees merged 1 commit into
masterfrom
test/1997-unpin-counts
Oct 23, 2026
Merged

zackees merged 1 commit into
masterfrom
test/1997-unpin-counts

Conversation

@zackees

@zackees zackees commented Oct 23, 2026

Copy link
Copy Markdown
Member

Refs #1997 (part 1)

native_test_graph_replaces_legacy_utility_definitions still pinned the cmocka test counts of the graphics, vlc, webrtc and qt suites. Two open PRs that each add a test to the same suite both bump the same number, and the second is ejected from the merge queue. #1947 was ejected on the graphics count this way.

This PR treats every suite the way #1910 treated core. It drops the exact counts and keeps the structural checks:

  • each suite is non-empty;
  • every test in a suite's partition belongs to that suite;
  • each suite has one target per test;
  • the five partitions together cover every test and target in the graph.

RED evidence: #1947's ejection (graphics count 12 vs 14) is the recorded failure of the pinned form. This is a focused test-contract fix (coordination.md §4).

GREEN: soldr cargo test -p obs-studio-rust --test obs-tests-app native_test_graph_replaces passes (1 passed); ./lint is clean.

@zackees
zackees enabled auto-merge October 23, 2026 23:04
@zackees
zackees added this pull request to the merge queue Oct 23, 2026
Merged via the queue into master with commit 02a7142 Oct 23, 2026
30 checks passed
@zackees
zackees deleted the test/1997-unpin-counts branch October 26, 2026 15:46
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