Fix tools/run-tests.py --report when tests are specified on the command line
authorjkummerow@chromium.org <jkummerow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 23 Oct 2012 08:59:53 +0000 (08:59 +0000)
committerjkummerow@chromium.org <jkummerow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 23 Oct 2012 08:59:53 +0000 (08:59 +0000)
Review URL: https://codereview.chromium.org/11189136

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12797 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

tools/run-tests.py

index b51b4a8957ef05b8f772d477fcb03b49808b9d31..c09ea064d9f083df79d3eeb31eb0be74203168d6 100755 (executable)
@@ -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)