Chromium Code Reviews
DescriptionIn 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
Messages
Total messages: 13 (8 generated)
|