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

Issue 355143002: Set coverage path globs on a per-Test basis instead of in main(). (Closed)

Created:
6 years, 6 months ago by iannucci
Modified:
6 years, 5 months ago
Reviewers:
Vadim Sh., agable
CC:
chromium-reviews, pgervais+watch_chromium.org, kjellander-cc_chromium.org, cmp-cc_chromium.org, ilevy-cc_chromium.org, stip+watch_chromium.org
Project:
tools
Visibility:
Public.

Description

Set coverage path globs on a per-Test basis instead of in main(). Allows GenTests methods to specify coverage path information as well. Also remove extra_coverage_data feature as it was temporary cruft that's no longer needed. This is the first step towards having expect_tests auto-load tests when given a directory. R=agable@chromium.org, vadimsh@chromium.org BUG= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=280684

Patch Set 1 #

Total comments: 14

Patch Set 2 : fix comments #

Total comments: 1

Patch Set 3 : fix _covers #

Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -65 lines) Patch
M scripts/slave/unittests/expect_tests/__init__.py View 1 chunk +2 lines, -0 lines 0 comments Download
M scripts/slave/unittests/expect_tests/cover.py View 3 chunks +11 lines, -19 lines 0 comments Download
M scripts/slave/unittests/expect_tests/main.py View 6 chunks +4 lines, -20 lines 0 comments Download
M scripts/slave/unittests/expect_tests/pipeline.py View 1 8 chunks +23 lines, -9 lines 0 comments Download
M scripts/slave/unittests/expect_tests/type_definitions.py View 1 4 chunks +31 lines, -6 lines 0 comments Download
M scripts/slave/unittests/expect_tests/unittest_helper.py View 3 chunks +3 lines, -5 lines 0 comments Download
A scripts/slave/unittests/expect_tests/util.py View 1 2 1 chunk +24 lines, -0 lines 0 comments Download
M scripts/slave/unittests/recipe_simulation_test.py View 3 chunks +18 lines, -6 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
iannucci
6 years, 6 months ago (2014-06-27 02:22:04 UTC) #1
Vadim Sh.
https://codereview.chromium.org/355143002/diff/1/scripts/slave/unittests/expect_tests/pipeline.py File scripts/slave/unittests/expect_tests/pipeline.py (right): https://codereview.chromium.org/355143002/diff/1/scripts/slave/unittests/expect_tests/pipeline.py#newcode71 scripts/slave/unittests/expect_tests/pipeline.py:71: if kill_switch.is_set(): Is it still needed here? https://codereview.chromium.org/355143002/diff/1/scripts/slave/unittests/expect_tests/pipeline.py#newcode197 scripts/slave/unittests/expect_tests/pipeline.py:197: ...
6 years, 5 months ago (2014-06-27 18:06:48 UTC) #2
iannucci
ptal https://chromiumcodereview.appspot.com/355143002/diff/1/scripts/slave/unittests/expect_tests/pipeline.py File scripts/slave/unittests/expect_tests/pipeline.py (right): https://chromiumcodereview.appspot.com/355143002/diff/1/scripts/slave/unittests/expect_tests/pipeline.py#newcode71 scripts/slave/unittests/expect_tests/pipeline.py:71: if kill_switch.is_set(): On 2014/06/27 18:06:48, Vadim Sh. wrote: ...
6 years, 5 months ago (2014-06-28 08:58:18 UTC) #3
Vadim Sh.
lgtm after _covers is fixed also I lost distinction between this CL and https://codereview.chromium.org/354913003/, rebases ...
6 years, 5 months ago (2014-06-30 17:29:11 UTC) #4
iannucci
On 2014/06/30 17:29:11, Vadim Sh. wrote: > lgtm after _covers is fixed > > also ...
6 years, 5 months ago (2014-06-30 22:47:02 UTC) #5
iannucci
The CQ bit was checked by iannucci@chromium.org
6 years, 5 months ago (2014-06-30 22:47:29 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/iannucci@chromium.org/355143002/40001
6 years, 5 months ago (2014-06-30 22:49:16 UTC) #7
commit-bot: I haz the power
6 years, 5 months ago (2014-06-30 22:50:27 UTC) #8
Message was sent while issue was closed.
Change committed as 280684

Powered by Google App Engine
This is Rietveld 408576698