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

llvm-svn: 152567
This commit is contained in:
Kostya Serebryany 2012-03-12 18:49:11 +00:00
parent 015ff468c2
commit f5088bb8a5
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