Skip to content

Name tests by family and number, after z390 - #162

Merged
Zaneham merged 1 commit into
masterfrom
feat/test-families
Aug 10, 2026
Merged

Name tests by family and number, after z390#162
Zaneham merged 1 commit into
masterfrom
feat/test-families

Conversation

@Zaneham

@Zaneham Zaneham commented Aug 10, 2026

Copy link
Copy Markdown
Owner

Tests are now named rvi01 and tdf39 rather than rv_isel_max_frame_slots_in_range, family per file, two digits so grep and ls agree with the runner about what comes first. The old descriptive name became a description the runner prints, and fam_order in tmain.c is the one place a family gets declared.

The reason for doing it is that 278 of the 380 tests were registering under families cat_order never listed, so they ran unheaded in link order, --list showed 102 of them, and --cat rv_enc ran none of them while exiting 0. th_check now refuses to start on an unknown family, a name that disagrees with its number, or a number already taken.

Also brought over from z390: sidecar .opt files so make repro declares the eight backend refusals it used to swallow as skips (one of them a live v_mfma verifier failure, declared not fixed), a trpi.c for regressions on bugs that shipped, seeded with #160's line-number corruption which had four sites fixed and no test, and a check that the keyword table lookup_keyword binary searches is actually in order.

390 tests, 389 pass, 1 pre-existing skip. make repro clean.

Family is the file stem, numbers are two digits, and the old descriptive
name became a description the runner prints. th_check refuses to start if
a name, number or family does not line up.
@Zaneham

Zaneham commented Aug 10, 2026

Copy link
Copy Markdown
Owner Author

Note: Aside from the comments and my general review, Claude was used to help organise the test refractor. I'm overall pretty happy with it.

@Zaneham
Zaneham merged commit 0a1a8c7 into master Aug 10, 2026
12 checks passed
@Zaneham
Zaneham deleted the feat/test-families branch August 12, 2026 11:39
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