summaryrefslogtreecommitdiff
path: root/test/CodeGen/CellSPU/lit.local.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/CellSPU/lit.local.cfg')
-rw-r--r--test/CodeGen/CellSPU/lit.local.cfg13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/CodeGen/CellSPU/lit.local.cfg b/test/CodeGen/CellSPU/lit.local.cfg
new file mode 100644
index 00000000000..6ae0972b66c
--- /dev/null
+++ b/test/CodeGen/CellSPU/lit.local.cfg
@@ -0,0 +1,13 @@
+config.suffixes = ['.ll', '.c', '.cpp']
+
+def getRoot(config):
+ if not config.parent:
+ return config
+ return getRoot(config.parent)
+
+root = getRoot(config)
+
+targets = set(root.targets_to_build.split())
+if not 'CellSPU' in targets:
+ config.unsupported = True
+