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

Issue 2385043002: In run_webkit_tests, use host.environ to access gtest shard env vars. (Closed)

Created:
4 years, 2 months ago by qyearsley
Modified:
4 years, 2 months ago
Reviewers:
jeffcarp
CC:
blink-reviews, chromium-reviews, Dirk Pranke, mithro
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

In run_webkit_tests, use host.environ to access gtest shard env vars. Reason: if we access environment variables via the Host object, then it's easier to test without affecting real environment variables in the unit tests, so the unit test methods can be simplified. Committed: https://crrev.com/6b7cefb7e2c3a5b3cfcad875e46e5df8256cb0ec Cr-Commit-Position: refs/heads/master@{#422486}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -20 lines) Patch
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py View 2 chunks +3 lines, -4 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py View 2 chunks +5 lines, -16 lines 2 comments Download

Messages

Total messages: 10 (3 generated)
qyearsley
This is a follow-up to http://crrev.com/2350853003
4 years, 2 months ago (2016-10-02 18:34:03 UTC) #2
jeffcarp
On 2016/10/02 at 18:34:03, qyearsley wrote: > This is a follow-up to http://crrev.com/2350853003 this is ...
4 years, 2 months ago (2016-10-03 17:27:40 UTC) #3
jeffcarp
https://codereview.chromium.org/2385043002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py File third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py (left): https://codereview.chromium.org/2385043002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py#oldcode257 third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:257: os.environ["WEBKIT_TEST_MAX_LOCKED_SHARDS"] = save_env_webkit_test_max_locked_shards Is the above no longer necessary?
4 years, 2 months ago (2016-10-03 17:27:48 UTC) #4
qyearsley
https://codereview.chromium.org/2385043002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py File third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py (left): https://codereview.chromium.org/2385043002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py#oldcode257 third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:257: os.environ["WEBKIT_TEST_MAX_LOCKED_SHARDS"] = save_env_webkit_test_max_locked_shards On 2016/10/03 at 17:27:48, jeffcarp wrote: ...
4 years, 2 months ago (2016-10-03 18:29:51 UTC) #5
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/2385043002/1
4 years, 2 months ago (2016-10-03 18:30:26 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 2 months ago (2016-10-03 19:18:05 UTC) #8
commit-bot: I haz the power
4 years, 2 months ago (2016-10-03 19:20:23 UTC) #10
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/6b7cefb7e2c3a5b3cfcad875e46e5df8256cb0ec
Cr-Commit-Position: refs/heads/master@{#422486}

Powered by Google App Engine
This is Rietveld 408576698