run_wine_tests: retain all results for duplicate names (WINE-DUPLICATE-TEST-NAMES) #999
Open
github-bot
wants to merge 1 commit from
github-bot/gh-999 into main
AGit
pull from: github-bot/gh-999
merge into: github:main
github:main
github:docs/animation-merge-remnants
github:docs/story-dedup-and-cli
github:docs/restofworld-merge-remnants
github:docs/gamedata-dedup-tables
github:docs/textures-bcpack-tables-and-cli
github:docs/exe-fail-fast-shims-sync
github:fix/address-guard-wraparound-parity
github:fix/cvt-f16-denorm-and-clamp
github:docs/pso-cache-scope-note
github:docs/viewer-readme
github:docs/textures-arrays-dds-preview
github:docs/conformance-readme-status
github:fix/docs-validators-fences-urls
github:claude/loop-total
github:claude/pops-collision-seed
github:claude/dstorage-hold-page-reads
github:claude/host-image-copy-switch
github:feat/gdk-lifecycle-window-hook
github:claude/d16s8-uav-nvidia-fallback
github:feat/mfplat-offline-shim
github:claude/gameinput-slow-reader
github:fix/rt-null-barrier-clear
github:claude/depth-resolve-sample-positions
github:integration/palmetto-parity
github:claude/valu-literal-sext
github:claude/slot74-pool-handle
github:claude/rgb9e5-uint-alias-view
github:claude/fssm-root-layout-tables
github:feat/gdk-speech-display-lifecycle
github:asset-audio-skip-current
github:qemmhd/old-9940-rectangle-quad-lists
github:feat/ws2-offline-shim
github:qemmhd/rt-d16-unorm-uav
github:feat/xs-device-stops-7-9
github:qemmhd/rt-depth-same-base-shapes
github:qemmhd/rt-lazy-attachment-variant
github:feat/acphal-xma2-decoder
github:asset-audio-skip
github:codex/coord-claim-check-20261124-7e48
github:feat/xs-frame-pacing-presentx
github:feat/xs-device-vm-options
github:old-pr/9844
github:old-pr/9978
github:old-pr/9815
github:old-pr/10057
github:old-pr/9874
github:old-pr/9965
github:old-pr/9863
github:old-pr/10068
github:old-pr/10066
github:old-pr/10067
github:old-pr/10007
github:old-pr/10061
github:old-pr/10065
github:old-pr/10059
github:old-pr/10063
github:old-pr/10055
github:old-pr/10062
github:old-pr/10042
github:old-pr/10041
github:old-pr/10049
github:old-pr/10047
github:old-pr/10046
github:old-pr/10045
github:old-pr/10056
github:old-pr/10043
github:old-pr/10036
github:old-pr/10034
github:old-pr/9984
github:old-pr/10052
github:old-pr/10038
github:old-pr/10033
github:old-pr/10028
github:old-pr/10050
github:old-pr/9891
github:old-pr/9889
github:old-pr/10051
github:old-pr/10019
github:old-pr/10027
github:old-pr/10029
github:old-pr/10031
github:old-pr/10026
github:old-pr/9941
github:old-pr/10030
github:old-pr/10040
github:old-pr/9990
github:old-pr/10021
github:old-pr/9962
github:old-pr/10022
github:old-pr/10020
github:old-pr/10015
github:old-pr/10025
github:old-pr/9886
github:old-pr/10048
github:old-pr/10014
github:old-pr/10011
github:old-pr/9861
github:old-pr/10010
github:old-pr/10008
github:old-pr/9860
github:old-pr/10006
github:old-pr/9920
github:old-pr/9995
github:old-pr/10000
github:old-pr/10016
github:old-pr/10004
github:old-pr/10023
github:old-pr/9982
github:old-pr/9981
github:old-pr/9983
github:old-pr/9970
github:old-pr/9969
github:old-pr/9968
github:old-pr/9971
github:old-pr/9972
github:old-pr/9942
github:old-pr/9963
github:old-pr/9960
github:old-pr/9964
github:old-pr/9985
github:old-pr/9973
github:old-pr/9862
github:old-pr/9953
github:old-pr/10017
github:old-pr/9952
github:old-pr/9955
github:old-pr/9946
github:old-pr/9954
github:old-pr/9938
github:old-pr/9956
github:old-pr/9856
github:old-pr/9947
github:old-pr/9924
github:old-pr/9961
github:old-pr/9927
github:old-pr/9979
github:old-pr/10032
github:old-pr/9926
github:old-pr/5237
github:old-pr/9951
github:old-pr/9931
github:old-pr/9902
github:old-pr/9921
github:old-pr/9994
github:old-pr/9775
github:old-pr/9768
github:old-pr/9905
github:old-pr/9936
github:old-pr/9901
github:old-pr/9904
github:old-pr/9906
github:old-pr/9988
github:old-pr/9908
github:old-pr/9909
github:old-pr/9911
github:old-pr/9912
github:old-pr/9913
github:old-pr/9887
github:old-pr/9916
github:old-pr/9919
github:old-pr/9925
github:old-pr/9933
github:old-pr/9935
github:old-pr/9918
github:old-pr/9879
github:old-pr/9880
github:old-pr/9881
github:old-pr/9996
github:old-pr/9876
github:old-pr/9892
github:old-pr/9899
github:old-pr/9915
github:old-pr/9914
github:old-pr/9872
github:old-pr/9869
github:old-pr/9866
github:old-pr/9819
github:old-pr/10012
github:old-pr/9857
github:old-pr/9893
github:old-pr/9897
github:old-pr/9928
github:old-pr/9868
github:old-pr/9917
github:old-pr/9940
github:old-pr/9873
github:old-pr/9816
github:old-pr/10009
github:old-pr/9900
github:old-pr/9966
github:old-pr/9859
github:old-pr/9843
github:old-pr/9991
github:old-pr/10058
github:old-pr/9883
github:old-pr/9838
github:old-pr/9835
github:old-pr/9959
github:old-pr/9895
github:old-pr/9837
github:old-pr/9858
github:old-pr/9865
github:old-pr/9864
github:old-pr/9840
github:old-pr/9820
github:old-pr/4669
github:old-pr/9848
github:old-pr/9850
github:old-pr/9810
github:old-pr/9799
github:old-pr/9853
github:old-pr/9875
github:old-pr/9831
github:old-pr/9796
github:old-pr/9801
github:old-pr/9813
github:old-pr/9794
github:old-pr/7417
github:old-pr/9781
github:old-pr/9806
github:old-pr/9958
github:old-pr/9809
github:old-pr/9791
github:old-pr/9792
github:old-pr/10053
github:old-pr/9784
github:old-pr/9789
github:old-pr/9849
github:old-pr/9846
github:old-pr/9773
github:old-pr/9785
github:old-pr/9803
github:old-pr/9826
github:old-pr/9839
github:old-pr/9922
github:old-pr/9948
github:old-pr/7189
github:old-pr/9957
github:old-pr/9823
github:old-pr/9807
github:old-pr/9851
github:old-pr/9774
github:old-pr/9830
github:old-pr/9836
github:old-pr/9822
github:old-pr/9783
github:old-pr/9833
github:old-pr/9890
github:old-pr/9770
github:old-pr/9769
github:old-pr/9772
github:old-pr/9787
github:old-pr/9852
github:old-pr/9834
github:old-pr/9845
github:old-pr/9871
github:old-pr/9771
github:old-pr/9776
github:old-pr/10005
github:old-pr/9949
github:old-pr/9923
github:old-pr/9805
github:old-pr/9829
github:old-pr/9790
github:old-pr/9827
github:old-pr/9929
github:old-pr/9855
github:old-pr/9934
github:old-pr/9907
github:old-pr/9910
github:old-pr/9779
github:old-pr/9780
github:old-pr/9885
github:old-pr/9882
github:old-pr/9877
github:old-pr/9998
github:old-pr/4251
github:old-pr/9987
github:old-pr/9989
github:old-pr/9950
github:old-pr/9777
github:old-pr/10044
github:old-pr/9884
github:old-pr/2906
github:old-pr/5076
github:old-pr/9937
github:old-pr/9986
github:old-pr/3014
github:old-pr/9943
github:old-pr/9939
github:old-pr/4682
github:old-pr/4765
No reviewers
Labels
Clear labels
accessibility
Barrier affecting people with disabilities
bug
Something isn't working
documentation
Improvements or additions to documentation
duplicate
This issue or pull request already exists
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
invalid
This doesn't seem right
missing claim
Needs a claim in #14
needs rebase
Conflicts with the base branch: rebase it on main
question
Further information is requested
wontfix
This will not be worked on
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs rebase
question
wontfix
Milestone
Clear milestone
No items
No milestone
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida!999
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-999"
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?
@TheGeogeo on GitHub · 2026-11-24 16:43 UTC · original
TheGeogeo:fix/wine-duplicate-test-names→main· +21 −10 · 2 files · 1 commits · openClaimed in the coordination issue as: WINE-DUPLICATE-TEST-NAMES — #14
What and why
CTest can list tests with the same name from separate directories. The Wine runner already executes both. Its name-keyed result map allowed the second test to overwrite the first in the totals, Markdown report and
--requirecheck. Use the existing per-entry results for all three. Each required name must be present, and every matching entry must pass.Since the rebase over #1354 (
--jobs), the name-keyedresultsmap is gone entirely:report()no longer fills it, and the Markdown rows follow the dependencyorderrather thanresults_by_index, which--jobsfills in completion order.Tested
Head
59a51c2c, rebased onmaine18b59a5, same patch as1d6ae8f4(git range-diff); it merges cleanly withmain747809e7. Windows 11, Python 3.12.4:python -I -B tests/test_run_wine_tests.py, three runs: 73 run, 12 skipped, errors only intest_jobs_keeps_locks_serial_tests_and_dependencies(three runs) andtest_jobs_runs_that_many_tests_at_a_time(two).maine18b59a5alone: both in two runs of three. With these tests on the runner ofmaine48ff037,test_required_name_checks_every_result_with_that_namefails.tests/test_docs_cli_flags.py,tests/test_text_write_line_endings.py,tests/test_ctest_registration.py,tests/test_ci_registration.pyandtests/test_docs_links.py: OK.tests/test_tool_stdout_encoding.pyfails intest_every_main_block_reconfigures_stdout, as onmaine18b59a5alone (three tools this change does not touch).compileall,git diff --checkandpython -I scripts/check_no_game_data.pyon the two files: clean.Earlier head
1d6ae8f4, rebased onmain28a32e19; it merged cleanly withmain22372d86. Windows 11, Python 3.12.4:python -I -B tests/test_run_wine_tests.py: 73 run, 12 skipped, 2 errors, intest_jobs_keeps_locks_serial_tests_and_dependenciesandtest_jobs_runs_that_many_tests_at_a_time. Unmodifiedmain22372d86gives the same errors (three runs: both twice, only the second once), so they do not come from this change.tests/test_tool_stdout_encoding.py,tests/test_docs_cli_flags.pyandtests/test_text_write_line_endings.py: OK.git diff --checkandpython -I -B scripts/check_no_game_data.py scripts/run_wine_tests.py tests/test_run_wine_tests.py: clean.Earlier heads:
800898fe(same patch ase8226ee4, onmain6293c1c4), Windows 11, Python 3.12.4:tests/test_run_wine_tests.py64 run, OK (9 skipped).mainat3ed8e50b, a CTest 4.3.1-msvc1 listing with twoshared_nameentries produced one failure and one pass. With the same listing and a synthetic Wine launcher,--require shared_nameincorrectly returned 0 and counted one pass. The focused regression failed on the same exit-code mismatch.e8226ee4:python -I -B tests/test_run_wine_tests.pyon Windows, Python 3.12.4, 55 passed and 9 POSIX-only skips;python3 -I -B tests/test_run_wine_tests.pyon Debian WSL, Python 3.11.2, 64 passed, and 65 in a clean temporary merge with #919 (3de809cf).GPUs tested: n/a (CPU-only synthetic tests).
AI-assisted: yes (Codex; the rebases on
28a32e19ande18b59a5with Claude Code).Checklist
mainand merges cleanly.@KernelSmoker on GitHub · 2026-11-24 16:57 UTC · original · approved these changes
Verified on exact head e8226ee49c2701aa91f988ba10fed9ccd54a937b. I ran
python3 -I -B tests/test_run_wine_tests.py(64/64 passed),scripts/check_no_game_data.pyfor both changed files, andgit diff --checkagainst origin/main. The new duplicate-name regression reproduces two entries namedshared, one failing and one passing: the summary retains both rows, reports 1 pass and 1 failure, and--require sharedexits nonzero. This validates the aggregation and required-name behavior with synthetic fixtures; I did not run Wine or Windows tests.@TheGeogeo on GitHub · 2026-11-24 21:22 UTC · original
Rebased on
main6293c1c4:e8226ee4->800898fe, same patch (git range-diff). The previous base failedtests/test_tool_stdout_encoding.py, which #948 fixed onmain, and the earlier CI run never started (action_required).tests/test_run_wine_tests.py64 run, OK (9 skipped);test_tool_stdout_encoding.py,test_docs_cli_flags.pyandtest_text_write_line_endings.pyOK;git diff --checkand the no-game-data check clean.e8226ee4.No code change in this rebase. CI on the new head is still queued.
AI-assisted: yes (Claude Code).
@TheGeogeo on GitHub · 2026-11-24 23:11 UTC · original
Rebased on
main28a32e19, where #1354 (--jobs) conflicted:800898fe->1d6ae8f4. It also merges cleanly withmain22372d86.The patch changed:
report()no longer fills the name-keyedresultsmap, which is gone, and the Markdown rows follow the dependencyorder, because--jobsfillsresults_by_indexin completion order. KernelSmoker's approval was one8226ee4, before this and the previous rebase.Windows 11, Python 3.12.4:
tests/test_run_wine_tests.py73 run, 12 skipped, 2 errors intest_jobs_keeps_locks_serial_tests_and_dependenciesandtest_jobs_runs_that_many_tests_at_a_time. Unmodifiedmain22372d86has the same errors (the first one intermittently).test_tool_stdout_encoding.py,test_docs_cli_flags.py,test_text_write_line_endings.py,git diff --checkand the no-game-data check pass.@TheGeogeo on GitHub · 2026-11-25 19:50 UTC · original
Rebased from
1d6ae8f4to59a51c2conmaine18b59a5, same patch (git range-diff). The old base was whytest_ci_registration.pyfailed in this pull request's CI (test_sub_co_same_operand.py); it passes on the new base. KernelSmoker's approval was given on800898fe, not on this head.Windows 11, Python 3.12.4:
test_run_wine_tests.py73 run, 12 skipped, errors only in the twotest_jobs_*cases, whichmaine18b59a5alone gives too (both in two of three runs);test_ci_registration.py16,test_ctest_registration.py5,test_docs_links.py16,test_docs_cli_flags.pyandtest_text_write_line_endings.pypass. Not from this change:test_tool_stdout_encoding.pyfails onmainalone as well, the twocs_dpp_cmp.asmcases of the old CI run are unchanged onmain(not run here: nollvm-mc), andvk_xdxr_postbuild_readbackstill returns 77 withoutSKIP_RETURN_CODEonmain(#1418).AI-assisted: yes (Claude Code)
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.