tests: cover IndirectCrossListCopy coalescing, sweeps, and resets #3746
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!3746
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3744"
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?
@Ammmae0x on GitHub · 2026-12-01 14:05 UTC · original
Ammmae0x:tests/indirect-cross-list-unit→main· +1298 −0 · 5 files · 2 commits · merged 2026-12-01 17:07 UTCRefs #1149
Portable C++17 unit, boundary, concurrency, and mutation tests for
src/startup_stubs/indirect_cross_list_copy.h(x2w_startup::IndirectCrossListCopy), with zero edits to existing files (5 new files only).tests/indirect_cross_list_unit_check.cpp: 30 cases pinningrecord()ignoring a zero resource, zero bytes and overflowing ranges, the exact-fit record at the top of the address space, and coalescing of adjacent, overlapping, contained, reverse-order, separated and bridging intervals;reset()dropping only one list's pending ranges;submit()merging a list's pending ranges and leaving other lists pending;recording_covers()sweeping pending and committed ranges together;covers()reading only the committed set;forget_resource()erasing a resource from both stores, a reused key starting clean, and an older recording not repopulating the committed set; theindirect_cross_list_enabledtruth table; and multi-threaded contention across all six operations.tests/cmake/indirect_cross_list_unit.cmake: per-case tests plusindirect_cross_list_unit_alland 6WILL_FAIL TRUEcontrols against real copied headers (zero-resource record, adjacent insert, merged-minimum begin, reset-clears-all, submit-no-merge, covers-exact-end).tests/indirect_cross_list_unit_meta_check.py: contract audit plus native g++ run (all cases together and singly, 1:1 real mutated header copies, zero model-only mutants).tests/checks/python-linux/indirect_cross_list_unit.txtanddocs/experiments/indirect-cross-list-unit.md.Linux checks (this host, g++ 13): meta check
PASS: indirect_cross_list_unit: 30 cases, 6/6 mutations killed (g++); form/docs/bidi pass (208 files/802 links, 2827 files); scratch CMake + CTest 37/37;git diff --checkclean; merge-tree exits 0; zero personal paths. No mingw on this host, so no Windows compile check; WIN-VERIFY run is the arbiter.AI-assisted.
Windows Verification (
be22089a)git merge-tree --write-tree upstream/main HEAD->5439b840(exit 0),git diff --checkcleanpy_compile,form_coverage_check.py,docs_links_check.py(209 files, 806 links),bidi_controls_check.py(2830 files) passeddev37/37 passed (1.11s);release37/37 passed (1.17s);indirect_cross_list_unit_check:PASS: indirect_cross_list_unit: 30/30 cases passed. AI-assisted.