aboutsummaryrefslogtreecommitdiffstats
path: root/utils/lit/lit/discovery.py
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2013-08-09 00:08:46 +0000
committerDaniel Dunbar <daniel@zuster.org>2013-08-09 00:08:46 +0000
commitb3c0c58ca4ecd21566899b369eb70742e44cc8ea (patch)
tree2f7a75a5a2b1031e2d67f3fe4c2ce4413231b30b /utils/lit/lit/discovery.py
parentf5539a356c55126b5d519d0594b424bdcdeab647 (diff)
downloadexternal_llvm-b3c0c58ca4ecd21566899b369eb70742e44cc8ea.zip
external_llvm-b3c0c58ca4ecd21566899b369eb70742e44cc8ea.tar.gz
external_llvm-b3c0c58ca4ecd21566899b369eb70742e44cc8ea.tar.bz2
[lit] Eliminate parent argument from TestingConfig.frompath(), which is effectively unused.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188032 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/lit/lit/discovery.py')
-rw-r--r--utils/lit/lit/discovery.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/utils/lit/lit/discovery.py b/utils/lit/lit/discovery.py
index f76bd22..35b29c6 100644
--- a/utils/lit/lit/discovery.py
+++ b/utils/lit/lit/discovery.py
@@ -83,9 +83,8 @@ def getLocalConfig(ts, path_in_suite, litConfig, cache):
cfgpath = os.path.join(source_path, litConfig.local_config_name)
if litConfig.debug:
litConfig.note('loading local config %r' % cfgpath)
- return TestingConfig.frompath(cfgpath, parent, litConfig,
- mustExist = False,
- config = parent.clone(cfgpath))
+ return TestingConfig.frompath(cfgpath, parent.clone(cfgpath), litConfig,
+ mustExist = False)
def search(path_in_suite):
key = (ts, path_in_suite)