aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrun_unittests.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/run_unittests.py b/run_unittests.py
index 6e5d8c9..a512447 100755
--- a/run_unittests.py
+++ b/run_unittests.py
@@ -1947,6 +1947,11 @@ class AllPlatformTests(BasePlatformTests):
https://github.com/mesonbuild/meson/issues/1646
'''
testdir = os.path.join(self.common_test_dir, '5 linkstatic')
+
+ env = get_fake_env(testdir, self.builddir, self.prefix)
+ if env.detect_c_compiler(False).get_id() == 'clang' and is_windows():
+ raise unittest.SkipTest('LTO not (yet) supported by windows clang')
+
self.init(testdir, extra_args='-Db_lto=true')
self.build()
self.run_tests()