summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2019-07-31 15:07:47 -0700
committerDylan Baker <dylan@pnwbakers.com>2019-08-14 13:13:22 -0700
commit9b3a1fabc5555739ff6c5046c7bf1ee2266cd53c (patch)
tree109c8b88d021272243f76d66cb5dd1afd9267eb2
parentf5f7a7bbb327dce7e82c830087f6fa6ef78a3a6e (diff)
downloadmeson-9b3a1fabc5555739ff6c5046c7bf1ee2266cd53c.tar.gz
unittests: add b_lundef=false to address sanitizer test
Clang doesn't really like having no-undefined plus the address sanitizer, but gcc doesn't mind. This all happens to work with clang + gnu ld, but with clang + apple ld this turns into a dumpster fire. Just add b_lundef=false to make everyone happy.
-rwxr-xr-xrun_unittests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/run_unittests.py b/run_unittests.py
index 6bb6728a3..b7bcb88e4 100755
--- a/run_unittests.py
+++ b/run_unittests.py
@@ -5032,7 +5032,7 @@ class LinuxlikeTests(BasePlatformTests):
raise unittest.SkipTest('-fsanitize=address is not supported on OpenBSD')
testdir = os.path.join(self.common_test_dir, '13 pch')
- self.init(testdir, extra_args=['-Db_sanitize=address'])
+ self.init(testdir, extra_args=['-Db_sanitize=address', '-Db_lundef=false'])
self.build()
compdb = self.get_compdb()
for i in compdb: