forked from OSchip/llvm-project
[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:
parent
b15def221d
commit
afbb65dee7
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue