X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FExecutionEngine%2Flit.local.cfg;h=88e3e9b23883c11b49685d22100fae3baf1f870b;hb=72920ec9ad6322d0f69e76090bda3468a35b5b82;hp=dd6a5bb240ecec4cde756ce26c83788f5e16520f;hpb=f13a7e2b2164bc107dd8fa87b79d4c118ef81742;p=oota-llvm.git diff --git a/test/ExecutionEngine/lit.local.cfg b/test/ExecutionEngine/lit.local.cfg index dd6a5bb240e..88e3e9b2388 100644 --- a/test/ExecutionEngine/lit.local.cfg +++ b/test/ExecutionEngine/lit.local.cfg @@ -1,12 +1,20 @@ -config.suffixes = ['.ll', '.c', '.cpp'] +if config.root.host_arch in ['Sparc', 'PowerPC', 'AArch64', 'SystemZ']: + config.unsupported = True -def getRoot(config): - if not config.parent: - return config - return getRoot(config.parent) +# CMake and autoconf diverge in naming or host_arch +if 'powerpc64' in config.root.target_triple: + config.unsupported = True -root = getRoot(config) +if 'aarch64' in config.root.target_triple \ + or 'arm64' in config.root.target_triple: + config.unsupported = True -if root.host_arch in ['PowerPC', 'AArch64']: +if 'hexagon' in config.root.target_triple: config.unsupported = True +if 'sparc' in config.root.target_triple: + config.unsupported = True + +# ExecutionEngine tests are not expected to pass in a cross-compilation setup. +if 'native' not in config.available_features: + config.unsupported = True