This is an archive of the discontinued LLVM Phabricator instance.

[python] [tests] Disable python binding tests when building with LLVM_USE_SANITIZER=Address
ClosedPublic

Authored by NoQ on Oct 12 2018, 7:18 PM.

Details

Summary

@mgorny: These fail for me on macOS too, if LLVM is configured as

cmake ../llvm/ -DCMAKE_BUILD_TYPE=Release -DLLVM_USE_SANITIZER=Address

I guess we might have to outright disable them under -DLLVM_USE_SANITIZER=Address.

Patch actually by Dan "@delcypher" Liew, I'm just passing by.

Diff Detail

Event Timeline

NoQ created this revision.Oct 12 2018, 7:18 PM
delcypher accepted this revision.Oct 12 2018, 7:25 PM

LGTM. But then I would say that because I wrote the patch πŸ˜›...

This revision is now accepted and ready to land.Oct 12 2018, 7:25 PM
mgorny accepted this revision.Oct 13 2018, 12:03 AM

WFM. Thanks for analyzing the problem.

bindings/python/tests/CMakeLists.txt
27

Hmm, I don't think you need to parenthesize the (NOT FOO) thing (and it looks bit weird to me).

This revision was automatically updated to reflect the committed changes.