summaryrefslogtreecommitdiff
path: root/test/MC/MachO/lit.local.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/MachO/lit.local.cfg')
-rw-r--r--test/MC/MachO/lit.local.cfg13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/MC/MachO/lit.local.cfg b/test/MC/MachO/lit.local.cfg
new file mode 100644
index 0000000000..1f53769b7b
--- /dev/null
+++ b/test/MC/MachO/lit.local.cfg
@@ -0,0 +1,13 @@
+config.suffixes = ['.s']
+
+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 'X86' in targets:
+ config.unsupported = True
+