diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2018-11-30 17:31:18 +0000 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2018-12-09 20:40:30 +0000 |
commit | aff5b3f416b06ef90511fb1149ffc3c99c533d44 (patch) | |
tree | a51425820a048f0e4696ef9d7299cc8cee1e1945 | |
parent | 54c680c4ba2bdd53147316a64f46612f667065b5 (diff) | |
download | meson-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-x | run_unittests.py | 5 |
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() |