From: whitequark Date: Thu, 13 Dec 2018 02:04:23 +0000 (+0000) Subject: Measure test coverage. X-Git-Tag: working~329 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e45e7f160804500b639e2c005f38284e635daea5;p=nmigen.git Measure test coverage. --- diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 0000000..c5fad9a --- /dev/null +++ b/.coveragerc @@ -0,0 +1,9 @@ +[run] +branch = True +omit = + nmigen/test/* + */__init__.py + +[report] +exclude_lines = + :nocov: diff --git a/.gitignore b/.gitignore index 29542a5..02ef482 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,5 @@ *.egg-info *.il *.v +/.coverage +/htmlcov