aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests/run_tests.py
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2017-02-17 16:44:45 -0800
committerGravatar David Garcia Quintas <dgq@google.com>2017-02-17 16:55:35 -0800
commit947e530e7f44f318f4defccaa4b25eaa72abd513 (patch)
treec2a566f0c71d5d7b3df4b8003306a7d8cd867c22 /tools/run_tests/run_tests.py
parentc74dfc328cc2d4cdb5f65755aa7e4b337dc5565d (diff)
Fix args processing in run_tests
Diffstat (limited to 'tools/run_tests/run_tests.py')
-rwxr-xr-xtools/run_tests/run_tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py
index cfc2b04955..44c28bb0fd 100755
--- a/tools/run_tests/run_tests.py
+++ b/tools/run_tests/run_tests.py
@@ -306,9 +306,9 @@ class CLanguage(object):
assert base is not None
assert line[1] == ' '
test = base + line.strip()
- cmdline = [binary] + ['--gtest_filter=%s' % test]
+ cmdline = [binary, '--gtest_filter=%s' % test] + target['args']
out.append(self.config.job_spec(cmdline,
- shortname='%s --gtest_filter=%s %s' % (binary, test, shortname_ext),
+ shortname='%s %s' % (' '.join(cmdline), shortname_ext),
cpu_cost=cpu_cost,
timeout_seconds=_DEFAULT_TIMEOUT_SECONDS * timeout_scaling,
environ=env))