mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 21:32:10 +00:00
[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:
parent
6c0b3ac8ea
commit
1778513fa5
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