Skip to content

fix(tools): name malformed sanitizer reports - #26331

Merged
oneandonlydean merged 1 commit into
boykopovar:mainfrom
u-instinct11:fix/sanitizer-xml-path
Nov 24, 2026
Merged

oneandonlydean merged 1 commit into
boykopovar:mainfrom
u-instinct11:fix/sanitizer-xml-path

Conversation

@u-instinct11

Copy link
Copy Markdown
Contributor

What

Malformed CTest XML produced a line and column without identifying the report. Include the JUnit path in the error.

Tested

The malformed XML case failed on main. Verified with the focused sanitizer report suite on Windows.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt and the licence notice of code adapted from upstream (see AGENTS.md)
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes

@github-actions

github-actions Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 13189 tools/sanitizer_report.py
tools/tests/test_sanitizer_report.py
PR 13589 tools/sanitizer_report.py
tools/tests/test_sanitizer_report.py

@cmsierrave-coder cmsierrave-coder left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified on Windows (Python 3.12) against 0109bf14d2:

  • Conventions & whitespace: tools/check_conventions.py --base origin/main and git diff --check origin/main...HEAD passed.
  • Tests: python -m unittest tools/tests/test_sanitizer_report.py: Ran 39 tests in 2.757s — OK (skipped=2).
  • Negative control: With tools/sanitizer_report.py reverted to origin/main, test_sanitizer_report.py fails (FAILED (failures=1, skipped=2)); restoring it makes the suite pass.

Looks Good To Me

@oneandonlydean
oneandonlydean merged commit 9126826 into boykopovar:main Nov 24, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants