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

Issue 1917383002: test.py: compute coverage per top-level module. (Closed)

Created:
4 years, 8 months ago by Sergey Berezin
Modified:
3 years, 10 months ago
CC:
chromium-reviews, infra-reviews+infra_chromium.org
Base URL:
https://chromium.googlesource.com/infra/infra.git@master
Target Ref:
refs/heads/master
Project:
infra
Visibility:
Public.

Description

test.py: compute coverage per top-level module. This allows specifying minimum expected coverage per python module. BUG=606878 R=pgervais@chromium.org Committed: https://chromium.googlesource.com/infra/infra/+/0e47fe74a32e0030ba927470c4df050907d626ce

Patch Set 1 #

Total comments: 9

Patch Set 2 : Rebase on top of http://crrev.com/1924833002 #

Patch Set 3 : Addressing comments, and more polishing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+606 lines, -91 lines) Patch
D .coveragerc View 1 chunk +0 lines, -41 lines 0 comments Download
A appengine/annotation-parser/.coveragerc View 1 chunk +22 lines, -0 lines 0 comments Download
A appengine/chrome_infra_console/.coveragerc View 1 chunk +22 lines, -0 lines 0 comments Download
A appengine/chrome_infra_console_loadtest/.coveragerc View 1 chunk +22 lines, -0 lines 0 comments Download
A appengine/chrome_infra_packages/.coveragerc View 1 chunk +22 lines, -0 lines 0 comments Download
A appengine/chrome_infra_stats/.coveragerc View 1 chunk +22 lines, -0 lines 0 comments Download
A appengine/chromium_bugs/.coveragerc View 1 chunk +22 lines, -0 lines 0 comments Download
A appengine/chromium_build/.coveragerc View 1 chunk +22 lines, -0 lines 0 comments Download
A appengine/chromium_build_logs/.coveragerc View 1 chunk +22 lines, -0 lines 0 comments Download
A appengine/chromium_committers/.coveragerc View 1 chunk +22 lines, -0 lines 0 comments Download
A appengine/chromium_cq_status/.coveragerc View 1 chunk +22 lines, -0 lines 0 comments Download
A appengine/chromium_rietveld/.coveragerc View 1 chunk +22 lines, -0 lines 0 comments Download
A appengine/chromium_status/.coveragerc View 1 chunk +22 lines, -0 lines 0 comments Download
A appengine/chromium_try_flakes/.coveragerc View 1 chunk +22 lines, -0 lines 0 comments Download
A appengine/cr-buildbucket/.coveragerc View 1 chunk +22 lines, -0 lines 0 comments Download
M appengine/cr-buildbucket/.gitignore View 1 chunk +0 lines, -1 line 0 comments Download
M appengine/cr-buildbucket/service.py View 1 chunk +1 line, -1 line 0 comments Download
A appengine/cr-doc/.coveragerc View 1 chunk +22 lines, -0 lines 0 comments Download
A appengine/cr_rev/.coveragerc View 1 chunk +22 lines, -0 lines 0 comments Download
A appengine/findit/.coveragerc View 1 chunk +22 lines, -0 lines 0 comments Download
A + appengine/monorail/.coveragerc View 2 chunks +2 lines, -18 lines 0 comments Download
A appengine/sheriff_o_matic/.coveragerc View 1 chunk +22 lines, -0 lines 0 comments Download
A appengine/som/.coveragerc View 1 chunk +22 lines, -0 lines 0 comments Download
A appengine/svn_to_git_tracking/.coveragerc View 1 chunk +22 lines, -0 lines 0 comments Download
A appengine/test_results/.coveragerc View 1 chunk +22 lines, -0 lines 0 comments Download
A appengine/trooper_o_matic/.coveragerc View 1 chunk +22 lines, -0 lines 0 comments Download
A appengine/ts_mon_test/.coveragerc View 1 chunk +22 lines, -0 lines 0 comments Download
A appengine_module/.coveragerc View 1 chunk +22 lines, -0 lines 0 comments Download
A + infra/.coveragerc View 2 chunks +2 lines, -18 lines 0 comments Download
A infra_libs/.coveragerc View 1 chunk +22 lines, -0 lines 0 comments Download
M test.py View 1 2 4 chunks +51 lines, -12 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 25 (7 generated)
Sergey Berezin
PTAL. +pgervais@chromium.org for test.py and overall design +lijeffrey@chromium.org for findit +nodir@chromium.org for buildbucket +agable@chromium.org for ...
4 years, 8 months ago (2016-04-27 01:39:14 UTC) #2
nodir
buildbucket changes lgtm
4 years, 8 months ago (2016-04-27 03:59:08 UTC) #3
lijeffrey
Findit lgtm, though we should have caught that we missed that line. (It still reports ...
4 years, 8 months ago (2016-04-27 05:56:34 UTC) #4
pgervais
Looks good with a few comments https://codereview.chromium.org/1917383002/diff/1/test.py File test.py (right): https://codereview.chromium.org/1917383002/diff/1/test.py#newcode17 test.py:17: print """\nUsage: %s ...
4 years, 7 months ago (2016-04-27 16:41:16 UTC) #5
Sergey Berezin
https://codereview.chromium.org/1917383002/diff/1/test.py File test.py (right): https://codereview.chromium.org/1917383002/diff/1/test.py#newcode17 test.py:17: print """\nUsage: %s <action> [<test names>] [<expect_tests options>] On ...
4 years, 7 months ago (2016-04-27 17:32:15 UTC) #6
Sergey Berezin
On 2016/04/27 05:56:34, lijeffrey wrote: > Findit lgtm, though we should have caught that we ...
4 years, 7 months ago (2016-04-27 17:34:08 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1917383002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1917383002/40001
4 years, 7 months ago (2016-04-27 17:36:37 UTC) #9
pgervais
On 2016/04/27 17:36:37, commit-bot: I haz the power wrote: > Dry run: CQ is trying ...
4 years, 7 months ago (2016-04-27 17:39:52 UTC) #10
pgervais
https://codereview.chromium.org/1917383002/diff/1/test.py File test.py (right): https://codereview.chromium.org/1917383002/diff/1/test.py#newcode17 test.py:17: print """\nUsage: %s <action> [<test names>] [<expect_tests options>] On ...
4 years, 7 months ago (2016-04-27 17:40:00 UTC) #11
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-04-27 17:41:08 UTC) #13
agable
LGTM, please make the same changes to test.py in infra_internal to keep them in sync.
4 years, 7 months ago (2016-04-27 18:38:47 UTC) #14
Sergey Berezin
On 2016/04/27 18:38:47, agable wrote: > LGTM, please make the same changes to test.py in ...
4 years, 7 months ago (2016-04-27 18:44:40 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1917383002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1917383002/40001
4 years, 7 months ago (2016-04-27 18:44:58 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/infra/infra/+/0e47fe74a32e0030ba927470c4df050907d626ce
4 years, 7 months ago (2016-04-27 18:47:39 UTC) #20
nodir
This caused https://bugs.chromium.org/p/chromium/issues/detail?id=617775
4 years, 6 months ago (2016-06-06 21:52:32 UTC) #21
achami.o8i8.o2o2.i0o8
On 2016/04/27 18:38:47, agable wrote: > <font><font>LGTMは、それらを保つためにinfra_internalにtest.pyするために同じ変更を行ってください</font></font><font></font><font><font> > シンク。</font></font>
4 years, 4 months ago (2016-08-02 04:52:35 UTC) #22
achami.o8i8.o2o2.i0o8
2016年8月2日(火) 13:52 <achami.o8i8.o2o2.i0o8@gmail.com>: > On 2016/04/27 18:38:47, agable wrote: > > > > <font><font>LGTMは、それらを保つためにinfra_internalにtest.pyするために同じ変更を行ってください</font></font><font></font><font><font> > ...
4 years, 4 months ago (2016-08-11 06:25:24 UTC) #23
adriansprowson
3 years, 10 months ago (2017-02-06 01:11:35 UTC) #25
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698