summaryrefslogtreecommitdiff
path: root/test/Analysis/Profiling/lit.local.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'test/Analysis/Profiling/lit.local.cfg')
-rw-r--r--test/Analysis/Profiling/lit.local.cfg15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/Analysis/Profiling/lit.local.cfg b/test/Analysis/Profiling/lit.local.cfg
index 19eebc0ac7ac3..444b7dc274108 100644
--- a/test/Analysis/Profiling/lit.local.cfg
+++ b/test/Analysis/Profiling/lit.local.cfg
@@ -1 +1,16 @@
config.suffixes = ['.ll', '.c', '.cpp']
+
+def getRoot(config):
+ if not config.parent:
+ return config
+ return getRoot(config.parent)
+
+root = getRoot(config)
+
+# Most profiling tests rely on a JIT being present to gather their data; AArch64
+# doesn't have any JIT at present so they will fail when run there.
+if root.host_arch in ['AArch64']:
+ config.unsupported = True
+
+if 'hexagon' in root.target_triple:
+ config.unsupported = True