test: Set lit features appropriately when using asan and ubsan together
authorJustin Bogner <mail@justinbogner.com>
Mon, 22 Jun 2015 18:47:10 +0000 (18:47 +0000)
committerJustin Bogner <mail@justinbogner.com>
Mon, 22 Jun 2015 18:47:10 +0000 (18:47 +0000)
commit4c4628c48c31fcb938eefdf6828351914647f501
tree5c0f1a1c8dfcde79e563b8aa7578da7b4d2ecf03
parenta2eb4099b6c9ac3272a8c3770b40d9de5fc3dc46
test: Set lit features appropriately when using asan and ubsan together

The asan/not_asan and ubsan/not_ubsan features weren't being set
correctly when LLVM_USE_SANITIZER is set to 'Address;Undefined'. Fix
this by doing substring instead of exact matching. Also simplify the
msan check for consistency.

llvm-svn: 240314
clang/test/lit.cfg