[asan] move x86-specific test to a separate X86 directory with a custom lit.local.cfg file

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152567 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Kostya Serebryany 2012-03-12 18:49:11 +00:00
parent 6c0b3ac8ea
commit 1778513fa5
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,13 @@
config.suffixes = ['.ll', '.c', '.cpp']
def getRoot(config):
if not config.parent:
return config
return getRoot(config.parent)
root = getRoot(config)
targets = set(root.targets_to_build.split())
if not 'X86' in targets:
config.unsupported = True