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

Issue 2429583002: In archive_layout_test_results.py, simplify argument handling. (Closed)

Created:
4 years, 2 months ago by qyearsley
Modified:
4 years, 2 months ago
Reviewers:
Dirk Pranke
CC:
chromium-reviews, infra-reviews+build_chromium.org, jeffcarp, kjellander-cc_chromium.org
Target Ref:
refs/heads/master
Project:
build
Visibility:
Public.

Description

In archive_layout_test_results.py, simplify argument handling. As far as I know, archive_layout_test_results.py is currently always called from the chromium_tests recipe module, after running layout tests, for the "archive_webkit_tests_results" step. In practice, this is always called like this: archive_webkit_tests_results python -u .../archive_layout_test_results.py \ --results-dir /b/rr/tmpa5gR1b/w/layout-test-results \ --build-dir /b/c/b/mac_layout/src/out \ --build-number 25264 \ --builder-name 'WebKit Mac10.10' \ --gs-bucket gs://chromium-layout-test-archives \ --staging-dir /b/c/chrome_staging That is, results-dir is always given and is an absolute path, and build number and builder name are always given. In this CL: - use argparse rather than optparse - remove --build-properties and --factory-properties args - make build number and builder name required - make results dir required, and don't treat it as a relative path relative to the build dir (since in practice it isn't). BUG=655810 Committed: https://chromium.googlesource.com/chromium/tools/build/+/ece187bdc4c389344de942753c06aaa69d0e880e

Patch Set 1 #

Patch Set 2 : Rebased #

Patch Set 3 : Rebase #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -64 lines) Patch
M scripts/slave/chromium/archive_layout_test_results.py View 1 6 chunks +41 lines, -64 lines 1 comment Download

Messages

Total messages: 13 (8 generated)
qyearsley
4 years, 2 months ago (2016-10-18 16:25:43 UTC) #5
Dirk Pranke
lgtm https://codereview.chromium.org/2429583002/diff/40001/scripts/slave/chromium/archive_layout_test_results.py File scripts/slave/chromium/archive_layout_test_results.py (right): https://codereview.chromium.org/2429583002/diff/40001/scripts/slave/chromium/archive_layout_test_results.py#newcode135 scripts/slave/chromium/archive_layout_test_results.py:135: parser.add_argument('--results-dir', required=True, Nice, didn't know about the required ...
4 years, 2 months ago (2016-10-18 20:03:03 UTC) #8
qyearsley
On 2016/10/18 at 20:03:03, dpranke wrote: > lgtm > > https://codereview.chromium.org/2429583002/diff/40001/scripts/slave/chromium/archive_layout_test_results.py > File scripts/slave/chromium/archive_layout_test_results.py (right): ...
4 years, 2 months ago (2016-10-18 20:32:27 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2429583002/40001
4 years, 2 months ago (2016-10-18 20:32:34 UTC) #11
commit-bot: I haz the power
4 years, 2 months ago (2016-10-18 20:42:52 UTC) #13
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/tools/build/+/ece187bdc4c389344de9...

Powered by Google App Engine
This is Rietveld 408576698