diff options
author | Daniel Dunbar <daniel@zuster.org> | 2013-08-08 20:59:13 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2013-08-08 20:59:13 +0000 |
commit | 9d11edb416d2a61ddaee15664acb52432094079f (patch) | |
tree | 4547294afb0e0506f10d1d6aa9c3c21b7134e477 /utils | |
parent | d4f9d05fde4b2cfd202a5852ec1ec3e960ef53ed (diff) | |
download | llvm-9d11edb416d2a61ddaee15664acb52432094079f.tar.gz llvm-9d11edb416d2a61ddaee15664acb52432094079f.tar.bz2 llvm-9d11edb416d2a61ddaee15664acb52432094079f.tar.xz |
[lit] Remove on_clone member, which is no longer used.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188006 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r-- | utils/lit/lit/TestingConfig.py | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/utils/lit/lit/TestingConfig.py b/utils/lit/lit/TestingConfig.py index 925099ca5d..d4d218b570 100644 --- a/utils/lit/lit/TestingConfig.py +++ b/utils/lit/lit/TestingConfig.py @@ -45,7 +45,6 @@ class TestingConfig: environment = environment, substitutions = [], unsupported = False, - on_clone = None, test_exec_root = None, test_source_root = None, excludes = [], @@ -90,7 +89,7 @@ class TestingConfig: return config def __init__(self, parent, name, suffixes, test_format, - environment, substitutions, unsupported, on_clone, + environment, substitutions, unsupported, test_exec_root, test_source_root, excludes, available_features, pipefail): self.parent = parent @@ -100,7 +99,6 @@ class TestingConfig: self.environment = dict(environment) self.substitutions = list(substitutions) self.unsupported = unsupported - self.on_clone = on_clone self.test_exec_root = test_exec_root self.test_source_root = test_source_root self.excludes = set(excludes) @@ -111,15 +109,12 @@ class TestingConfig: # FIXME: Chain implementations? # # FIXME: Allow extra parameters? - cfg = TestingConfig(self, self.name, self.suffixes, self.test_format, - self.environment, self.substitutions, - self.unsupported, self.on_clone, - self.test_exec_root, self.test_source_root, - self.excludes, self.available_features, - self.pipefail) - if cfg.on_clone: - cfg.on_clone(self, cfg, path) - return cfg + return TestingConfig(self, self.name, self.suffixes, self.test_format, + self.environment, self.substitutions, + self.unsupported, + self.test_exec_root, self.test_source_root, + self.excludes, self.available_features, + self.pipefail) def finish(self, litConfig): """finish() - Finish this config object, after loading is complete.""" |