From: NAKAMURA Takumi Date: Tue, 1 Dec 2015 01:14:58 +0000 (+0000) Subject: check-llvm: Introduce the new feature "tls". X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=be0d74465db88aa17438edbd8389180b19c47bf3 check-llvm: Introduce the new feature "tls". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254360 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/lit.cfg b/test/lit.cfg index 3f710debf23..b77f892d4d9 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -374,6 +374,10 @@ if config.target_triple: if config.host_triple == config.target_triple: config.available_features.add("native") +# Not set for targeting tls-incapable targets. +if not re.match(r'.*-cygwin$', config.target_triple): + config.available_features.add('tls') + import subprocess def have_ld_plugin_support():