tests: Haste makes waste.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111525 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Dunbar 2010-08-19 16:47:54 +00:00
parent 62b4d71d7f
commit 2e5ec111b9

View File

@ -148,11 +148,11 @@ def llvm_supports_target(name):
def llvm_supports_darwin_and_target(name):
return 'darwin' in config.target_triple and llvm_supports_target(name)
langs = set([s.strip for s in site_exp['llvmgcc_langs'].split(',')])
langs = set([s.strip() for s in site_exp['llvmgcc_langs'].split(',')])
def llvm_gcc_supports(name):
return name.strip() in langs
bindings = set([s.strip for s in site_exp['llvm_bindings'].split(',')])
bindings = set([s.strip() for s in site_exp['llvm_bindings'].split(',')])
def llvm_supports_binding(name):
return name.strip() in bindings