diff options
Diffstat (limited to 'test/ExecutionEngine/lit.local.cfg')
-rw-r--r-- | test/ExecutionEngine/lit.local.cfg | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/test/ExecutionEngine/lit.local.cfg b/test/ExecutionEngine/lit.local.cfg index b6945ad..28c56ad 100644 --- a/test/ExecutionEngine/lit.local.cfg +++ b/test/ExecutionEngine/lit.local.cfg @@ -1,14 +1,9 @@ -config.suffixes = ['.ll', '.c', '.cpp'] - -def getRoot(config): - if not config.parent: - return config - return getRoot(config.parent) - -root = getRoot(config) +if config.root.host_arch in ['PowerPC', 'AArch64', 'SystemZ']: + config.unsupported = True -if root.host_arch in ['PowerPC', 'AArch64', 'SystemZ']: +if 'hexagon' in config.root.target_triple: config.unsupported = True -if 'hexagon' in root.target_triple: +# ExecutionEngine tests are not expected to pass in a cross-compilation setup. +if 'native' not in config.available_features: config.unsupported = True |