mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-19 11:41:53 +00:00
test/MC/X86/lit.local.cfg: Fix up to detect 'X86' in targets.
llvm-svn: 152406
This commit is contained in:
parent
8139573edf
commit
c97ffd132b
@ -1 +1,12 @@
|
|||||||
config.suffixes = ['.ll', '.c', '.cpp', '.s']
|
config.suffixes = ['.ll', '.c', '.cpp', '.s']
|
||||||
|
|
||||||
|
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…
x
Reference in New Issue
Block a user