aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCary Converse <cconverse711@gmail.com>2020-06-16 22:56:08 -0400
committerCary Converse <cconverse711@gmail.com>2020-06-17 23:08:51 -0400
commit8620ca2066d04b0d61c8f9fc60c218c779bd11fb (patch)
tree552e1a5ac483642a75d3fd6de5620787bb1138c6
parentf3e2e4c63ee75413501856fb026d478f82ddef0d (diff)
downloadmeson-8620ca2066d04b0d61c8f9fc60c218c779bd11fb.zip
meson-8620ca2066d04b0d61c8f9fc60c218c779bd11fb.tar.gz
meson-8620ca2066d04b0d61c8f9fc60c218c779bd11fb.tar.bz2
disable coverage tests on msys2
-rwxr-xr-xrun_unittests.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/run_unittests.py b/run_unittests.py
index 0a61935..b663e83 100755
--- a/run_unittests.py
+++ b/run_unittests.py
@@ -4830,6 +4830,8 @@ recommended as it is not supported on some platforms''')
self.assertEqual(parsed_help['arguments'], parsed_section['arguments'])
def test_coverage(self):
+ if mesonbuild.environment.detect_msys2_arch():
+ raise unittest.SkipTest('Skipped due to problems with coverage on MSYS2')
gcovr_exe, gcovr_new_rootdir = mesonbuild.environment.detect_gcovr()
if not gcovr_exe:
raise unittest.SkipTest('gcovr not found, or too old')
@@ -4847,6 +4849,8 @@ recommended as it is not supported on some platforms''')
self.run_target('coverage')
def test_coverage_html(self):
+ if mesonbuild.environment.detect_msys2_arch():
+ raise unittest.SkipTest('Skipped due to problems with coverage on MSYS2')
gcovr_exe, gcovr_new_rootdir = mesonbuild.environment.detect_gcovr()
if not gcovr_exe:
raise unittest.SkipTest('gcovr not found, or too old')
@@ -4864,6 +4868,8 @@ recommended as it is not supported on some platforms''')
self.run_target('coverage-html')
def test_coverage_text(self):
+ if mesonbuild.environment.detect_msys2_arch():
+ raise unittest.SkipTest('Skipped due to problems with coverage on MSYS2')
gcovr_exe, gcovr_new_rootdir = mesonbuild.environment.detect_gcovr()
if not gcovr_exe:
raise unittest.SkipTest('gcovr not found, or too old')
@@ -4881,6 +4887,8 @@ recommended as it is not supported on some platforms''')
self.run_target('coverage-text')
def test_coverage_xml(self):
+ if mesonbuild.environment.detect_msys2_arch():
+ raise unittest.SkipTest('Skipped due to problems with coverage on MSYS2')
gcovr_exe, gcovr_new_rootdir = mesonbuild.environment.detect_gcovr()
if not gcovr_exe:
raise unittest.SkipTest('gcovr not found, or too old')