aboutsummaryrefslogtreecommitdiff
path: root/test/lit.cfg
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-09-13 01:41:18 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-09-13 01:41:18 +0000
commit840a718105b5792d442af5f9acd08501c1ae469f (patch)
tree7c7cb3b6fda9be66070b1bdb7087bfb1b3bbb8dc /test/lit.cfg
parentfbc18f839c8dcae38e73ae12bee9d34a416d2fcd (diff)
tests: Add llvm_supports_binding predicate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81664 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/lit.cfg')
-rw-r--r--test/lit.cfg4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/lit.cfg b/test/lit.cfg
index 546984d972..7eac5c6975 100644
--- a/test/lit.cfg
+++ b/test/lit.cfg
@@ -99,6 +99,10 @@ langs = set(site_exp['llvmgcc_langs'].split(','))
def llvm_gcc_supports(name):
return name in langs
+bindings = set(site_exp['llvm_bindings'].split(','))
+def llvm_supports_binding(name):
+ return name in langs
+
# Provide on_clone hook for reading 'dg.exp'.
import os
simpleLibData = re.compile(r"""load_lib llvm.exp