[Orc] XFAIL a few remote-jit test cases that I missed in r257391.
[oota-llvm.git] / test / ExecutionEngine / lit.local.cfg
index 1f8ae69b9868c8ffc6130fb5713473c74cf48445..88e3e9b23883c11b49685d22100fae3baf1f870b 100644 (file)
@@ -1,14 +1,20 @@
-config.suffixes = ['.ll', '.c', '.cpp']
+if config.root.host_arch in ['Sparc', 'PowerPC', 'AArch64', 'SystemZ']:
+    config.unsupported = True
+
+# CMake and autoconf diverge in naming or host_arch
+if 'powerpc64' in config.root.target_triple:
+    config.unsupported = True
 
-def getRoot(config):
-    if not config.parent:
-        return config
-    return getRoot(config.parent)
+if 'aarch64' in config.root.target_triple \
+    or 'arm64' in config.root.target_triple:
+        config.unsupported = True
 
-root = getRoot(config)
+if 'hexagon' in config.root.target_triple:
+    config.unsupported = True
 
-if root.host_arch in ['PowerPC', 'AArch64']:
+if 'sparc' 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