Repository navigation
tests: accept the clear censuses in the memory SRV report - #3602
Merged
Merged
Conversation
R0Y00#3482 added the direct-draw and clear censuses to the same report block, so it is six lines where startup_memory_srv_diag_check expected four. The check failed on both backends and main is red at 077bff3. Validate the four lines the check is about, in order, and require any remaining line to be one of those censuses by prefix, so the block is still constrained rather than accepted whole.
R0Y00
approved these changes
Nov 30, 2026
R0Y00
left a comment
Owner
There was a problem hiding this comment.
Independent Debug check on 47dbc782: built startup_stream_consumer and d3d12_xs_shim, then ran ctest --preset dev --no-tests=error --output-on-failure -j 1 -R '^startup_memory_srv_diag_'. WARP, RTX hardware and the supported-view WARP control passed 3/3. The four existing assertions still apply in order, and the parser permits only the clear census prefixes after them.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change
startup_memory_srv_diag_checkrequired the census report block to be exactly four lines. #3482(
516a982a9, "census of direct draws not drawn and of clears") added the direct-draw and clear censuses tothe same block, so it is six lines and the check fails on both backends:
The four lines this check is about are unchanged and still in order. The check now validates those four and
then requires every remaining line to be one of the censuses #3482 added, matched by prefix, so the block
is still constrained rather than accepted whole.
Verification
mainat077bff3ac, in-box dev preset, before this change:After:
The control still passes, and an unexpected line in the block still fails with the new message, so the
relaxation is bounded to the two censuses it names.
Refs #3482.