[LNT] r269152 - test-suite: Improve some variable/parameter names
Matthias Braun via llvm-commits
llvm-commits at lists.llvm.org
Tue May 10 18:31:49 PDT 2016
Author: matze
Date: Tue May 10 20:31:49 2016
New Revision: 269152
URL: http://llvm.org/viewvc/llvm-project?rev=269152&view=rev
Log:
test-suite: Improve some variable/parameter names
Modified:
lnt/trunk/lnt/tests/test_suite.py
Modified: lnt/trunk/lnt/tests/test_suite.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/tests/test_suite.py?rev=269152&r1=269151&r2=269152&view=diff
==============================================================================
--- lnt/trunk/lnt/tests/test_suite.py (original)
+++ lnt/trunk/lnt/tests/test_suite.py Tue May 10 20:31:49 2016
@@ -437,7 +437,7 @@ class TestSuiteTest(BuiltinTest):
self._check_call([make_cmd, 'clean'],
cwd=subdir)
- def _configure(self, path, extra_flags=[], execute=True):
+ def _configure(self, path, extra_cmake_defs=[], execute=True):
cmake_cmd = self.opts.cmake
defs = {
@@ -471,7 +471,7 @@ class TestSuiteTest(BuiltinTest):
for item in self.opts.cmake_defines:
k, v = item.split('=', 1)
defs[k] = v
- for item in extra_flags:
+ for item in extra_cmake_defs:
k, v = item.split('=', 1)
defs[k] = v
@@ -502,8 +502,9 @@ class TestSuiteTest(BuiltinTest):
return cmake_cmd
def _collect_pgo(self, path):
- flags = ["TEST_SUITE_PROFILE_GENERATE=On", "TEST_SUITE_RUN_TYPE=train"]
- self._configure(path, extra_flags=flags)
+ extra_defs = ["TEST_SUITE_PROFILE_GENERATE=On",
+ "TEST_SUITE_RUN_TYPE=train"]
+ self._configure(path, extra_cmake_defs=extra_defs)
self._make(path)
self._lit(path, True)
More information about the llvm-commits
mailing list