Measure test coverage.
authorwhitequark <cz@m-labs.hk>
Thu, 13 Dec 2018 02:04:23 +0000 (02:04 +0000)
committerwhitequark <cz@m-labs.hk>
Thu, 13 Dec 2018 02:04:23 +0000 (02:04 +0000)
.coveragerc [new file with mode: 0644]
.gitignore

diff --git a/.coveragerc b/.coveragerc
new file mode 100644 (file)
index 0000000..c5fad9a
--- /dev/null
@@ -0,0 +1,9 @@
+[run]
+branch = True
+omit =
+  nmigen/test/*
+  */__init__.py
+
+[report]
+exclude_lines =
+       :nocov:
index 29542a5b69fdb8a0ce486219d2b655a30dcc87d2..02ef4820ee201fdf19c9eb94d5ca231cb28df5bf 100644 (file)
@@ -2,3 +2,5 @@
 *.egg-info
 *.il
 *.v
+/.coverage
+/htmlcov