trunk/9858884bec3fc33199238ad8be226cc15c383b6a: [CI] Add golden tests for pytest junit XML (#198326)
- PyTorch 近 90 天出现 1457 次
- PyTorch 近 90 天第 1438 次发版
- 上一次:同一天稍早 · viable/strict/1790288829: [Profiler] Remove deprecated experimental config options (#198262)
发生了什么
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…
摘要按规则整理自下方来源原文