Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(772)

Issue 14247012: Add support for parallel presubmit unit testing. (Closed)

Created:
7 years, 8 months ago by Isaac (away)
Modified:
7 years, 8 months ago
Reviewers:
iannucci, M-A Ruel
CC:
chromium-reviews, cmp-cc_chromium.org, M-A Ruel, iannucci+depot_tools_chromium.org, Jói
Base URL:
https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Visibility:
Public.

Description

Add support for parallel presubmit unit testing. Enable parallel tests on depot_tools. On Z620 presubmit times: 3m -> 35s. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=195377

Patch Set 1 : #

Total comments: 14

Patch Set 2 : fixed suggestions and presubmit tests #

Total comments: 4

Patch Set 3 : fix nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+249 lines, -177 lines) Patch
M PRESUBMIT.py View 1 chunk +15 lines, -15 lines 0 comments Download
M presubmit_canned_checks.py View 1 2 8 chunks +72 lines, -57 lines 0 comments Download
M presubmit_support.py View 1 2 8 chunks +124 lines, -61 lines 0 comments Download
M tests/presubmit_unittest.py View 1 16 chunks +38 lines, -44 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Isaac (away)
Request for initial review. I still need to fix tests/presubmit_unittest.py, which is failing due to ...
7 years, 8 months ago (2013-04-19 03:43:07 UTC) #1
M-A Ruel
I like the idea. I'm sad we didn't start with generators right at the start, ...
7 years, 8 months ago (2013-04-19 16:49:38 UTC) #2
Isaac (away)
Some comments -- I'll respond to the rest when I upload next patchset. > Unit ...
7 years, 8 months ago (2013-04-19 19:52:04 UTC) #3
Dirk Pranke
On 2013/04/19 16:49:38, Marc-Antoine Ruel wrote: > I like the idea. I'm sad we didn't ...
7 years, 8 months ago (2013-04-19 19:58:02 UTC) #4
Dirk Pranke
On 2013/04/19 19:52:04, Isaac wrote: > Some comments -- I'll respond to the rest when ...
7 years, 8 months ago (2013-04-19 19:58:38 UTC) #5
Isaac (away)
PTAL Unittests now pass. https://chromiumcodereview.appspot.com/14247012/diff/5001/presubmit_support.py File presubmit_support.py (right): https://chromiumcodereview.appspot.com/14247012/diff/5001/presubmit_support.py#newcode146 presubmit_support.py:146: On 2013/04/19 16:49:39, Marc-Antoine Ruel ...
7 years, 8 months ago (2013-04-20 00:41:36 UTC) #6
M-A Ruel
lgtm https://chromiumcodereview.appspot.com/14247012/diff/9001/presubmit_canned_checks.py File presubmit_canned_checks.py (right): https://chromiumcodereview.appspot.com/14247012/diff/9001/presubmit_canned_checks.py#newcode707 presubmit_canned_checks.py:707: if files == 1: you forgot len() https://chromiumcodereview.appspot.com/14247012/diff/9001/presubmit_support.py ...
7 years, 8 months ago (2013-04-20 02:24:55 UTC) #7
Isaac (away)
Done. Committing. https://chromiumcodereview.appspot.com/14247012/diff/9001/presubmit_canned_checks.py File presubmit_canned_checks.py (right): https://chromiumcodereview.appspot.com/14247012/diff/9001/presubmit_canned_checks.py#newcode707 presubmit_canned_checks.py:707: if files == 1: On 2013/04/20 02:24:55, ...
7 years, 8 months ago (2013-04-20 03:51:24 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ilevy@chromium.org/14247012/16001
7 years, 8 months ago (2013-04-20 03:51:30 UTC) #9
commit-bot: I haz the power
Presubmit check for 14247012-16001 failed and returned exit status 1. INFO:root:Found 4 file(s). Running presubmit ...
7 years, 8 months ago (2013-04-20 03:51:34 UTC) #10
Isaac (away)
7 years, 8 months ago (2013-04-20 03:57:59 UTC) #11
Message was sent while issue was closed.
Committed patchset #3 manually as r195377 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698