trunk/9858884bec3fc33199238ad8be226cc15c383b6a: [CI] Add golden tests for pytest junit XML (#198326)
- PyTorch: 1453 events in the last 90 days
- PyTorch: 1434th Release in the last 90 days
- Previous: earlier the same day · viable/strict/1790288829: [Profiler] Remove deprecated experimental config options (#198262)
What happened
upload_test_stats.py ingests pytest's junit XML, which had no coverage. TestJunitXml runs a fixture suite through test/conftest.py's LogXMLReruns and sanitize_pytest_xml, then diffs the normalized XML against raw and sanitized goldens. The goldens record the pytest and pytest-rerunfailures versions they depend on; the class skips if the installed versions differ. REGENERATE_JUNIT_GOLDENS=1 rewrites them. Skips if py…
Summary assembled by rule from the sources below