Repository navigation
tests: t6050: drop duplicate check cases and source-text scrapes - #622
Conversation
test_t6050_tree_shape.py: - The dcpext version test re-ran every t6050_check_ext_adt() / t6050_check_ext_live() failure (segment and pt-region placement, uuid, stale TTBR roots, unlocked DART, stopped CPU, unpowered, faulted MMIO). Both t6050_ext_reject() and t6050_ext_display_dart() gate on that one call, and test_t6050_external_scanout_darts_resolved already drives each branch. Keep one representative (running == 0). - Drop the asserts that grep src/ text (selector/gate strings, the ATC table literals, the n_tunables line); the C harnesses execute the real functions. test_t6050_g17c_fill.py: - Fold the three small-table accept cases into one (13 states, 3 clusters, 12 CS/AFR states); the 16x8x16 case stays. - Drop the second stale-leakage-words case: an unreadable window and a missing window both return 1 from t6050_gpu_leakage() and take the same delete path. Tests only; no change under src/. Signed-off-by: Ryan Murray <81541646+RyanTheTide@users.noreply.github.com>
|
Merge readiness at
Areas: none matched in CODEOWNERS Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
There was a problem hiding this comment.
Verdict: MERGE at 52b912189ab3
Checked: Test-only: drops duplicate T6050 check cases and source-text scrapes in test_t6050_g17c_fill.py / test_t6050_tree_shape.py and updates the PASS counts (82, ext-version cases) to match. Could not run it locally (clone failed here); the host-test job on this PR is the check.
Follow-ups (not blocking): none
DjDeveloperr
left a comment
There was a problem hiding this comment.
The changes are confined to two host test files. The external-display checks still exercise each rejection in the resolver and retain an end-to-end rejection in the versioning path. The GPU fixture keeps both table sizes and verifies stale data removal. The relevant host checks passed.
|
Merging at |
What: Shrinks the T6050 host tests that #282 and #281 added during review (audit-merged-20261201 rows 4 and 9). Only exact duplicates and source-text greps go. Every harness that runs the real C stays.
test_t6050_tree_shape.py: the dcpext version test re-ran all ninet6050_check_ext_adt()/t6050_check_ext_live()failure cases.test_t6050_external_scanout_darts_resolvedalready drives each of them.t6050_ext_reject()andt6050_ext_display_dart()both depend on that one boolean, so one representative case (running == 0) is kept. Also removes the asserts that grepsrc/for strings (selector/gate text, ATC table literals, then_tunablesline).test_t6050_g17c_fill.py: the three small-table accept cases become one case (13 states, 3 clusters, 12 CS/AFR states); the 16x8x16 case stays. Removes the second stale-leakage-words case:t6050_gpu_leakage()returns 1 for both an unreadable window and a missing window, and both go through the same delete path.No change under
src/.Tested: no runtime change (tests only). At
52b912189ab3on the buildbox:python -m pytest -q tests/python/test_t6050_tree_shape.py tests/python/test_t6050_g17c_fill.py: 8 passed (cc);CC=clanggives the same result.python -m pytest -q tests/python/test_t6050*.py: 169 passed.Risk: two-way · none (no runtime change).
Not yet:
kboot_gpu.c. Rewriting it as a table would move lines around without reducing what is checked, so it is left as is.