tests: Use explicit coverage tracking

This commit is contained in:
Tomas Babej 2018-07-31 03:46:58 -04:00
parent a331fd0f3b
commit b00e886142
No known key found for this signature in database
GPG key ID: B0747C6578F7D2F5
6 changed files with 33 additions and 2 deletions

View file

@ -27,6 +27,11 @@ endif
" Determine the plugin path
let s:plugin_path = escape(expand('<sfile>:p:h:h:h'), '\')
" Run the measure parts first, if desired
if exists("g:taskwiki_measure_coverage")
execute 'py3file ' . s:plugin_path . '/knowledge/testcoverage.py'
endif
" Execute the main body of taskwiki source
execute g:taskwiki_pyfile . s:plugin_path . '/taskwiki/main.py'