mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-29 06:10:48 +00:00
[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
015ff468c2
commit
f5088bb8a5
13
test/Instrumentation/AddressSanitizer/X86/lit.local.cfg
Normal file
13
test/Instrumentation/AddressSanitizer/X86/lit.local.cfg
Normal 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
|
||||
|
Loading…
Reference in New Issue
Block a user