mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-27 00:20:53 +01:00
[PR #1726] run_gpu_tests: sort cs_dump tables one entry per line (TEST-RUN-GPU-SORTED-TABLES) #1738
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#1738
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/1726
Author: @TanmaySatyam
Created: 11/25/2026
Status: 🔄 Open
Base:
main← Head:refactor/run-gpu-tests-sorted-tables📝 Commits (1)
df7cf56run_gpu_tests: sort cs_dump tables one entry per line (TEST-RUN-GPU-SORTED-TABLES)📊 Changes
2 files changed (+222 additions, -143 deletions)
View changed files
📝
scripts/run_gpu_tests.py(+146 -143)➕
tests/test_run_gpu_tests_tables.py(+76 -0)📄 Description
Claimed in the coordination issue as: TEST-RUN-GPU-SORTED-TABLES (https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7158772853)
What and why
scripts/run_gpu_tests.pyhad three multi-entry horizontal tuples (elif name in ("cs_...", ...)duplicating every key ofcs_dump_wants,wave64 = name not in (...), andhexwords=name in (...)) that caused recurring 3-way merge conflicts whenever two GPU-test PRs touched the runner.This lifts those lists to module-level, alphabetically sorted, one-entry-per-line tables:
CS_DUMP_WANTS(dispatch now checkselif name in CS_DUMP_WANTS:directly, removing the duplicate 74-entry tuple)CS_DUMP_NON_WAVE64(frozenset[str], 42 entries)CS_DUMP_HEXWORDS(frozenset[str], 9 entries)Every fixture set has identical membership to
main;tests/test_run_gpu_tests_tables.pyenforces alphabetical sorting, one-entry-per-line formatting, and subset parity going forward.Tested
python -m compileall -q scripts/run_gpu_tests.py tests/test_run_gpu_tests_tables.py-> passpython -I tests/test_run_gpu_tests_tables.py-> 4/4 passedpython -I tests/test_run_gpu_tests.py-> 68/68 passedpython -I tests/test_run_gpu_tests_paths.py-> 21/21 passedpython -I scripts/run_gpu_tests.py --build runtime/build --filter cs_store --require-pass(LEONIDA_VK_VALIDATION=1) -> 1/1 passedpython -I scripts/run_gpu_tests.py --build runtime/build --filter cs_w32_fcmpswap --require-pass(LEONIDA_VK_VALIDATION=1) -> 1/1 passedLEONIDA_W64_EMULATE=1 python -I scripts/run_gpu_tests.py --build runtime/build --filter cs_smem_vcc_base --require-pass(LEONIDA_VK_VALIDATION=1) -> 1/1 passed (and skips natively on 32-wide as before)python -I scripts/check_no_game_data.py scripts/run_gpu_tests.py tests/test_run_gpu_tests_tables.py-> exit 0GPUs tested: NVIDIA GeForce RTX 5070 (Windows 11, Vulkan validation enabled, 0 VUIDs)
AI-assisted: yes
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed. (n/a)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.