summaryrefslogtreecommitdiff
path: root/unittests/allplatformstests.py
diff options
context:
space:
mode:
Diffstat (limited to 'unittests/allplatformstests.py')
-rw-r--r--unittests/allplatformstests.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/unittests/allplatformstests.py b/unittests/allplatformstests.py
index 5e4739ce3..21cdaa8be 100644
--- a/unittests/allplatformstests.py
+++ b/unittests/allplatformstests.py
@@ -1054,7 +1054,7 @@ class AllPlatformTests(BasePlatformTests):
def test_internal_include_order(self):
- if mesonbuild.environment.detect_msys2_arch() and ('MESON_RSP_THRESHOLD' in os.environ):
+ if mesonbuild.envconfig.detect_msys2_arch() and ('MESON_RSP_THRESHOLD' in os.environ):
raise SkipTest('Test does not yet support gcc rsp files on msys2')
testdir = os.path.join(self.common_test_dir, '130 include order')
@@ -4075,7 +4075,7 @@ class AllPlatformTests(BasePlatformTests):
return basename
def get_shared_lib_name(basename: str) -> str:
- if mesonbuild.environment.detect_msys2_arch():
+ if mesonbuild.envconfig.detect_msys2_arch():
return f'lib{basename}.dll'
elif is_windows():
return f'{basename}.dll'
@@ -4288,7 +4288,7 @@ class AllPlatformTests(BasePlatformTests):
self.assertTrue((covdir / f).is_file(), msg=f'{f} is not a file')
def test_coverage(self):
- if mesonbuild.environment.detect_msys2_arch():
+ if mesonbuild.envconfig.detect_msys2_arch():
raise SkipTest('Skipped due to problems with coverage on MSYS2')
gcovr_exe, gcovr_new_rootdir = mesonbuild.environment.detect_gcovr()
if not gcovr_exe:
@@ -4308,7 +4308,7 @@ class AllPlatformTests(BasePlatformTests):
self._check_coverage_files()
def test_coverage_complex(self):
- if mesonbuild.environment.detect_msys2_arch():
+ if mesonbuild.envconfig.detect_msys2_arch():
raise SkipTest('Skipped due to problems with coverage on MSYS2')
gcovr_exe, gcovr_new_rootdir = mesonbuild.environment.detect_gcovr()
if not gcovr_exe:
@@ -4328,7 +4328,7 @@ class AllPlatformTests(BasePlatformTests):
self._check_coverage_files()
def test_coverage_html(self):
- if mesonbuild.environment.detect_msys2_arch():
+ if mesonbuild.envconfig.detect_msys2_arch():
raise SkipTest('Skipped due to problems with coverage on MSYS2')
gcovr_exe, gcovr_new_rootdir = mesonbuild.environment.detect_gcovr()
if not gcovr_exe:
@@ -4348,7 +4348,7 @@ class AllPlatformTests(BasePlatformTests):
self._check_coverage_files(['html'])
def test_coverage_text(self):
- if mesonbuild.environment.detect_msys2_arch():
+ if mesonbuild.envconfig.detect_msys2_arch():
raise SkipTest('Skipped due to problems with coverage on MSYS2')
gcovr_exe, gcovr_new_rootdir = mesonbuild.environment.detect_gcovr()
if not gcovr_exe:
@@ -4368,7 +4368,7 @@ class AllPlatformTests(BasePlatformTests):
self._check_coverage_files(['text'])
def test_coverage_xml(self):
- if mesonbuild.environment.detect_msys2_arch():
+ if mesonbuild.envconfig.detect_msys2_arch():
raise SkipTest('Skipped due to problems with coverage on MSYS2')
gcovr_exe, gcovr_new_rootdir = mesonbuild.environment.detect_gcovr()
if not gcovr_exe:
@@ -4388,7 +4388,7 @@ class AllPlatformTests(BasePlatformTests):
self._check_coverage_files(['xml'])
def test_coverage_escaping(self):
- if mesonbuild.environment.detect_msys2_arch():
+ if mesonbuild.envconfig.detect_msys2_arch():
raise SkipTest('Skipped due to problems with coverage on MSYS2')
gcovr_exe, gcovr_new_rootdir = mesonbuild.environment.detect_gcovr()
if not gcovr_exe: