pytorch/tools/coverage_plugins_package
Jane Xu 1e51c05b71 Name .coverage.jit with timestamp to prevent loss of stats (#56829)
Summary:
The reason we were not seeing so many wins was because .coverage.jit would overwrite itself every coverage run. (What a noob mistake who wrote that code?!?!)

This should fix that.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/56829

Test Plan:
Coverage in CI should audibly increase. It does, somewhat:
Check out f8a475b056! New covered files include:
Classes in torch/distributed/optim
torch/utils/mkldnn.py

Reviewed By: walterddr

Differential Revision: D27984427

Pulled By: janeyx99

fbshipit-source-id: e82d074c2b4a60a5204a73efc2823824384c8bf5
2021-04-26 08:43:17 -07:00
..
src/coverage_plugins Name .coverage.jit with timestamp to prevent loss of stats (#56829) 2021-04-26 08:43:17 -07:00
pyproject.toml
README.md
setup.py

What is this?

This folder hosts a minimal package for coverage plug-ins. Currently, the only plug-in is a JIT plug-in that helps coverage mark functions and methods passed through torch.jit.script and torch.jit.script_method as covered code.