dev: Expose coverage and built documentation to web.

This makes it much more convenient for developers to access coverage
and built developer documentation.
This commit is contained in:
Tim Abbott
2017-03-23 11:59:24 -07:00
parent 97e844e97c
commit 06492738b5
5 changed files with 27 additions and 8 deletions

View File

@@ -386,10 +386,15 @@ def write_instrumentation_reports(full_suite):
assert len(pattern_cnt) > 100
untested_patterns = set([p for p in pattern_cnt if pattern_cnt[p] == 0])
# We exempt some patterns that are called via Tornado.
exempt_patterns = set([
# We exempt some patterns that are called via Tornado.
'api/v1/events',
'api/v1/register',
# We also exempt some development environment debugging
# static content URLs, since the content they point to may
# or may not exist.
'coverage/(?P<path>.*)',
'docs/(?P<path>.*)',
])
untested_patterns -= exempt_patterns