From 453a9f1b9562b6e5639179469f929f52794bde57 Mon Sep 17 00:00:00 2001 From: Michal Majewski Date: Tue, 5 Dec 2017 12:49:04 +0100 Subject: [PATCH] [test] Create commands after sharding. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: v8:6917 Change-Id: I3a79a7f273df566035cee6a0e22be2e02d67d946 Reviewed-on: https://chromium-review.googlesource.com/808505 Commit-Queue: MichaƂ Majewski Commit-Queue: Michael Achenbach Reviewed-by: Michael Achenbach Cr-Commit-Position: refs/heads/master@{#49865} --- tools/testrunner/standard_runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testrunner/standard_runner.py b/tools/testrunner/standard_runner.py index e2b0d77d2a..661e244c42 100755 --- a/tools/testrunner/standard_runner.py +++ b/tools/testrunner/standard_runner.py @@ -451,12 +451,12 @@ class StandardTestRunner(base_runner.BaseTestRunner): if options.warn_unused: s.WarnUnusedRules(check_variant_rules=True) s.FilterTestCasesByStatus(options.slow_tests, options.pass_fail_tests) + s.tests = self._shard_tests(s.tests, options) for t in s.tests: t.flags += s.GetStatusfileFlags(t) t.cmd = s.GetCommand(t, ctx) - s.tests = self._shard_tests(s.tests, options) num_tests += len(s.tests) if options.cat: