From e45e7f160804500b639e2c005f38284e635daea5 Mon Sep 17 00:00:00 2001 From: whitequark Date: Thu, 13 Dec 2018 02:04:23 +0000 Subject: [PATCH] Measure test coverage. --- .coveragerc | 9 +++++++++ .gitignore | 2 ++ 2 files changed, 11 insertions(+) create mode 100644 .coveragerc 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 -- 2.30.2