diff options
Diffstat (limited to 'test/ExecutionEngine')
-rw-r--r-- | test/ExecutionEngine/MCJIT/lit.local.cfg | 10 | ||||
-rw-r--r-- | test/ExecutionEngine/MCJIT/remote/lit.local.cfg | 12 | ||||
-rw-r--r-- | test/ExecutionEngine/RuntimeDyld/lit.local.cfg | 1 | ||||
-rw-r--r-- | test/ExecutionEngine/lit.local.cfg | 13 |
4 files changed, 5 insertions, 31 deletions
diff --git a/test/ExecutionEngine/MCJIT/lit.local.cfg b/test/ExecutionEngine/MCJIT/lit.local.cfg index f21468f..bad4c8c 100644 --- a/test/ExecutionEngine/MCJIT/lit.local.cfg +++ b/test/ExecutionEngine/MCJIT/lit.local.cfg @@ -1,12 +1,4 @@ -config.suffixes = ['.ll', '.c', '.cpp'] - -def getRoot(config): - if not config.parent: - return config - return getRoot(config.parent) - -root = getRoot(config) - +root = config.root targets = set(root.targets_to_build.split()) if ('X86' in targets) | ('AArch64' in targets) | ('ARM' in targets) | \ ('Mips' in targets) | ('PowerPC' in targets) | ('SystemZ' in targets): diff --git a/test/ExecutionEngine/MCJIT/remote/lit.local.cfg b/test/ExecutionEngine/MCJIT/remote/lit.local.cfg index 39b2a95..6b192ae 100644 --- a/test/ExecutionEngine/MCJIT/remote/lit.local.cfg +++ b/test/ExecutionEngine/MCJIT/remote/lit.local.cfg @@ -1,11 +1,3 @@ -config.suffixes = ['.ll', '.c', '.cpp'] - -def getRoot(config): - if not config.parent: - return config - return getRoot(config.parent) - -root = getRoot(config) - -if 'armv4' in root.target_triple or 'armv5' in root.target_triple: +if 'armv4' in config.root.target_triple or \ + 'armv5' in config.root.target_triple: config.unsupported = True diff --git a/test/ExecutionEngine/RuntimeDyld/lit.local.cfg b/test/ExecutionEngine/RuntimeDyld/lit.local.cfg deleted file mode 100644 index df9b335..0000000 --- a/test/ExecutionEngine/RuntimeDyld/lit.local.cfg +++ /dev/null @@ -1 +0,0 @@ -config.suffixes = ['.test'] diff --git a/test/ExecutionEngine/lit.local.cfg b/test/ExecutionEngine/lit.local.cfg index b6945ad..215ecae 100644 --- a/test/ExecutionEngine/lit.local.cfg +++ b/test/ExecutionEngine/lit.local.cfg @@ -1,14 +1,5 @@ -config.suffixes = ['.ll', '.c', '.cpp'] - -def getRoot(config): - if not config.parent: - return config - return getRoot(config.parent) - -root = getRoot(config) - -if root.host_arch in ['PowerPC', 'AArch64', 'SystemZ']: +if config.root.host_arch in ['PowerPC', 'AArch64', 'SystemZ']: config.unsupported = True -if 'hexagon' in root.target_triple: +if 'hexagon' in config.root.target_triple: config.unsupported = True |