[cfe-commits] r97971 - /cfe/trunk/test/lit.cfg
John McCall
rjmccall at apple.com
Mon Mar 8 12:01:09 PST 2010
Author: rjmccall
Date: Mon Mar 8 14:01:09 2010
New Revision: 97971
URL: http://llvm.org/viewvc/llvm-project?rev=97971&view=rev
Log:
Revert r97727 at ddunbar's request; we want to solve this some other way.
Modified:
cfe/trunk/test/lit.cfg
Modified: cfe/trunk/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/lit.cfg?rev=97971&r1=97970&r2=97971&view=diff
==============================================================================
--- cfe/trunk/test/lit.cfg (original)
+++ cfe/trunk/test/lit.cfg Mon Mar 8 14:01:09 2010
@@ -97,18 +97,6 @@
###
-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
More information about the cfe-commits
mailing list