diff options
author | Joel Klinghed <the_jk@spawned.biz> | 2018-02-27 21:41:48 +0100 |
---|---|---|
committer | Joel Klinghed <the_jk@spawned.biz> | 2018-02-27 21:48:42 +0100 |
commit | da017702613d718ac69ae213ee91358566f7b622 (patch) | |
tree | c414e7c2a6454d37e16daa0f8f2d9a2dbe8b9beb /mesonbuild/minit.py | |
parent | 16f80b4c506bba9839e30bd98fcbbafddcef3632 (diff) | |
download | meson-da017702613d718ac69ae213ee91358566f7b622.zip meson-da017702613d718ac69ae213ee91358566f7b622.tar.gz meson-da017702613d718ac69ae213ee91358566f7b622.tar.bz2 |
Fix coverage-xml and coverage-text targets for gcovr >= 3.1
In gcovr 3.1 the -r/--rootdir argument changed meaning causing
reports generated with gcovr 3.1 to not find the source files
and look for *.gcda in the whole source tree rather than the
build dir.
So, detect gcovr version and if 3.1 give build_root to -r instead
of source_root.
Diffstat (limited to 'mesonbuild/minit.py')
0 files changed, 0 insertions, 0 deletions