mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-15 21:00:47 +00:00
Previously, you could run update_failures.py (with a commit hash) and it would add new expected failures and skips for newly failing tests and remove expected failures for newly passing tests. This PR teaches update_failures.py to also remove skips for tests that are now passing without them. The way we do this is: - dynamo_test_failures.py doesn't actually skip tests -- it runs the test and then suppresses the signal. - if the test actually passed, then the test gets skipped with a special skip message - we teach update_failures.py to look for the presence of that skip message. Test Plan: - Used this to generate https://github.com/pytorch/pytorch/pull/118928 Pull Request resolved: https://github.com/pytorch/pytorch/pull/118931 Approved by: https://github.com/yanboliang ghstack dependencies: #118874, #118882 |
||
|---|---|---|
| .. | ||
| common.py | ||
| download_reports.py | ||
| failures_histogram.py | ||
| passrate.py | ||
| update_failures.py | ||