aboutsummaryrefslogtreecommitdiffstats
path: root/utils/lit/lit/TestingConfig.py
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-03-08 20:02:05 +0000
committerJohn McCall <rjmccall@apple.com>2010-03-08 20:02:05 +0000
commit197d009e6bdb96f0e27f07be1a6775ced09fcf9f (patch)
tree33bbcb4d93a728e1078e2be8ff13bffc3c51e8e0 /utils/lit/lit/TestingConfig.py
parent49457b81589c6a3ef384caa8fdf1463ad2ada7c7 (diff)
downloadexternal_llvm-197d009e6bdb96f0e27f07be1a6775ced09fcf9f.zip
external_llvm-197d009e6bdb96f0e27f07be1a6775ced09fcf9f.tar.gz
external_llvm-197d009e6bdb96f0e27f07be1a6775ced09fcf9f.tar.bz2
Revert r97726 and r97728 at ddunbar's request; we want to solve this
some other way when it comes to be necessary. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97972 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/lit/lit/TestingConfig.py')
-rw-r--r--utils/lit/lit/TestingConfig.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/utils/lit/lit/TestingConfig.py b/utils/lit/lit/TestingConfig.py
index d6f2a4d..dd905ef 100644
--- a/utils/lit/lit/TestingConfig.py
+++ b/utils/lit/lit/TestingConfig.py
@@ -28,8 +28,7 @@ class TestingConfig:
on_clone = None,
test_exec_root = None,
test_source_root = None,
- excludes = [],
- conditions = {})
+ excludes = [])
if os.path.exists(path):
# FIXME: Improve detection and error reporting of errors in the
@@ -55,7 +54,7 @@ class TestingConfig:
def __init__(self, parent, name, suffixes, test_format,
environment, substitutions, unsupported, on_clone,
- test_exec_root, test_source_root, excludes, conditions):
+ test_exec_root, test_source_root, excludes):
self.parent = parent
self.name = str(name)
self.suffixes = set(suffixes)
@@ -67,7 +66,6 @@ class TestingConfig:
self.test_exec_root = test_exec_root
self.test_source_root = test_source_root
self.excludes = set(excludes)
- self.conditions = dict(conditions)
def clone(self, path):
# FIXME: Chain implementations?
@@ -77,7 +75,7 @@ class TestingConfig:
self.environment, self.substitutions,
self.unsupported, self.on_clone,
self.test_exec_root, self.test_source_root,
- self.excludes, self.conditions)
+ self.excludes)
if cfg.on_clone:
cfg.on_clone(self, cfg, path)
return cfg