summaryrefslogtreecommitdiffstats
path: root/test/lit.cfg
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-03-08 20:01:09 +0000
committerJohn McCall <rjmccall@apple.com>2010-03-08 20:01:09 +0000
commit43533c9fa03c0f7dc33103cb8b260966a85e1d84 (patch)
tree8078853ee0e2f29a219085c4d63562367ce6dcd2 /test/lit.cfg
parent9fd4f8989725aa430c0962ced3bb4c8a2662dc3b (diff)
Revert r97727 at ddunbar's request; we want to solve this some other way.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97971 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/lit.cfg')
-rw-r--r--test/lit.cfg12
1 files changed, 0 insertions, 12 deletions
diff --git a/test/lit.cfg b/test/lit.cfg
index 3565edc779..beb8ae03b4 100644
--- a/test/lit.cfg
+++ b/test/lit.cfg
@@ -97,18 +97,6 @@ if config.test_exec_root is None:
###
-import re
-site_exp = {}
-for line in open(os.path.join(config.llvm_obj_root, 'test', 'site.exp')):
- m = re.match('set ([^ ]+) "([^"]*)"', line)
- if m:
- site_exp[m.group(1)] = m.group(2)
-
-targets = set(site_exp['TARGETS_TO_BUILD'].split())
-def llvm_supports_target(name):
- return name in targets
-config.conditions['TARGET'] = llvm_supports_target
-
# Discover the 'clang' and 'clangcc' to use.
import os