aboutsummaryrefslogtreecommitdiff
path: root/test/ExecutionEngine/lit.local.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'test/ExecutionEngine/lit.local.cfg')
-rw-r--r--test/ExecutionEngine/lit.local.cfg11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/ExecutionEngine/lit.local.cfg b/test/ExecutionEngine/lit.local.cfg
index 19eebc0ac7..f0343263db 100644
--- a/test/ExecutionEngine/lit.local.cfg
+++ b/test/ExecutionEngine/lit.local.cfg
@@ -1 +1,12 @@
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']:
+ config.unsupported = True
+