Fix tools/run-tests.py --report when tests are specified on the command line

Review URL: https://codereview.chromium.org/11189136

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12797 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent cee59bf5
......@@ -298,9 +298,9 @@ def Execute(arch, mode, args, options, suites, workspace):
for s in suites:
s.ReadStatusFile(variables)
s.ReadTestCases(ctx)
all_tests += s.tests
if len(args) > 0:
s.FilterTestCasesByArgs(args)
all_tests += s.tests
s.FilterTestCasesByStatus(options.warn_unused)
if options.cat:
verbose.PrintTestSource(s.tests)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment