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

Issue 649683005: Add src-side launcher for telemetry_unittests (Closed)

Created:
6 years, 2 months ago by Paweł Hajdan Jr.
Modified:
6 years, 2 months ago
Reviewers:
iannucci
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add src-side launcher for telemetry_unittests This will need a recipe-side change to pass the paths known to recipe (from the path recipe module) and properties (from the properties recipe module). Each of these key-value pairs is passed as two command line arguments, so that parsing them is easy and rock solid (avoids escaping issues), and is also easy to convert to dict python-side. BUG=422235 R=iannucci@chromium.org Committed: https://chromium.googlesource.com/chromium/src/+/5316422143176a4a6457ce173ec9597a2e0eda69

Patch Set 1 #

Patch Set 2 : use fromfile_prefix_chars to handle long command line on Windows #

Patch Set 3 : json instead of fromfile #

Patch Set 4 : fix #

Patch Set 5 : get_compile_targets.py #

Total comments: 12

Patch Set 6 : fixes #

Patch Set 7 : fix after test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+250 lines, -45 lines) Patch
M testing/scripts/checkdeps.py View 1 2 3 4 5 2 chunks +16 lines, -45 lines 0 comments Download
A testing/scripts/common.py View 1 2 3 4 5 6 1 chunk +117 lines, -0 lines 0 comments Download
A testing/scripts/get_compile_targets.py View 1 2 3 4 1 chunk +55 lines, -0 lines 0 comments Download
A testing/scripts/telemetry_unittests.py View 1 2 3 4 5 1 chunk +62 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (1 generated)
Paweł Hajdan Jr.
Tested locally, and it's also nice we can test using trybots for regressions (note that ...
6 years, 2 months ago (2014-10-16 14:53:22 UTC) #2
iannucci
On 2014/10/16 14:53:22, Paweł Hajdan Jr. wrote: > Tested locally, and it's also nice we ...
6 years, 2 months ago (2014-10-16 21:08:30 UTC) #3
Paweł Hajdan Jr.
On 2014/10/16 21:08:30, iannucci wrote: > 1) command line lengths are a real problem on ...
6 years, 2 months ago (2014-10-17 11:11:20 UTC) #4
iannucci
On 2014/10/17 11:11:20, Paweł Hajdan Jr. wrote: > On 2014/10/16 21:08:30, iannucci wrote: > > ...
6 years, 2 months ago (2014-10-20 17:56:54 UTC) #5
iannucci
OK, discussed offline. @fromfile is still a problem because: * only supported natively by argparse ...
6 years, 2 months ago (2014-10-20 19:11:40 UTC) #6
iannucci
Oops, sent early. OK, discussed offline. @fromfile is still a problem because: * only supported ...
6 years, 2 months ago (2014-10-20 19:14:01 UTC) #7
Paweł Hajdan Jr.
PTAL Please see https://codereview.chromium.org/666023004 for recipe-side change. I added a small script get_compile_targets.py so that ...
6 years, 2 months ago (2014-10-21 14:40:20 UTC) #8
iannucci
lgtm https://codereview.chromium.org/649683005/diff/80001/testing/scripts/checkdeps.py File testing/scripts/checkdeps.py (right): https://codereview.chromium.org/649683005/diff/80001/testing/scripts/checkdeps.py#newcode38 testing/scripts/checkdeps.py:38: def mode_compile_targets(args): I would drop the mode_ prefix ...
6 years, 2 months ago (2014-10-22 07:23:15 UTC) #9
Paweł Hajdan Jr.
Thank you for the review. I believe I addressed the comments, and ongoing feedback and ...
6 years, 2 months ago (2014-10-22 09:43:27 UTC) #10
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/5316422143176a4a6457ce173ec9597a2e0eda69 Cr-Commit-Position: refs/heads/master@{#300659}
6 years, 2 months ago (2014-10-22 10:39:25 UTC) #11
Paweł Hajdan Jr.
Committed patchset #7 (id:120001) manually as 5316422143176a4a6457ce173ec9597a2e0eda69.
6 years, 2 months ago (2014-10-22 10:39:29 UTC) #12
jam
6 years, 2 months ago (2014-10-22 16:29:15 UTC) #13
Message was sent while issue was closed.
A revert of this CL (patchset #7 id:120001) has been created in
https://codereview.chromium.org/655843004/ by jam@chromium.org.

The reason for reverting is: windows trybots broken

please be around after landing changes and verify that bots are working.

Powered by Google App Engine
This is Rietveld 408576698