aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2018-11-30 17:31:18 +0000
committerJon Turney <jon.turney@dronecode.org.uk>2018-12-09 20:40:30 +0000
commitaff5b3f416b06ef90511fb1149ffc3c99c533d44 (patch)
treea51425820a048f0e4696ef9d7299cc8cee1e1945
parent54c680c4ba2bdd53147316a64f46612f667065b5 (diff)
downloadmeson-aff5b3f416b06ef90511fb1149ffc3c99c533d44.zip
meson-aff5b3f416b06ef90511fb1149ffc3c99c533d44.tar.gz
meson-aff5b3f416b06ef90511fb1149ffc3c99c533d44.tar.bz2
Skip LTO test with Windows clang
This doesn't seem to be working in clang, at the moment.
-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()