From 96aaf15896cd0f0b46f147b9f8624f3e12d55de5 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