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

Issue 2859703002: webkitpy: Override TEMPDIR for Xvfb. (Closed)

Created:
3 years, 7 months ago by dnj
Modified:
3 years, 7 months ago
CC:
chromium-reviews, blink-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

webkitpy: Override TEMPDIR for Xvfb. Hard-code TEMPDIR/TMPDIR for "Xvfb" to "/tmp" in webkitpy's Linux layout test port. The Xvfb tool's "xkb" library compiles in "/tmp" in several places, and hard-linking expectations get violated if TEMPDIR and "/tmp" are on different filesystems. BUG=chromium:715848 TEST=local - Ran without patch and TEMPDIR/TMPDIR overrides, verified hardlink failure from bug. - Ran with patch, no more hardlink failure! Review-Url: https://codereview.chromium.org/2859703002 Cr-Commit-Position: refs/heads/master@{#469378} Committed: https://chromium.googlesource.com/chromium/src/+/9cc81c66fbe4e06f84a5d8647faf1a2fab5ecf38

Patch Set 1 #

Total comments: 8

Patch Set 2 : comments #

Total comments: 1

Patch Set 3 : track mock call env, add test #

Total comments: 4

Patch Set 4 : todo comment #

Messages

Total messages: 29 (13 generated)
dnj
PTAL
3 years, 7 months ago (2017-05-02 22:25:33 UTC) #2
iannucci
lgtm
3 years, 7 months ago (2017-05-03 01:17:19 UTC) #3
mithro
Couple of small nits. Are you able to actually add a test to the third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/linux_unittest.py ...
3 years, 7 months ago (2017-05-03 01:58:34 UTC) #4
iannucci
https://codereview.chromium.org/2859703002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/linux.py File third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/linux.py (right): https://codereview.chromium.org/2859703002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/linux.py#newcode170 third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/linux.py:170: env['TEMPDIR'] = env['TMPDIR'] = '/tmp' On 2017/05/03 01:58:34, mithro ...
3 years, 7 months ago (2017-05-03 02:06:37 UTC) #5
dnj
https://codereview.chromium.org/2859703002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/linux.py File third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/linux.py (right): https://codereview.chromium.org/2859703002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/linux.py#newcode166 third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/linux.py:166: # process. On 2017/05/03 01:58:34, mithro wrote: > Don't ...
3 years, 7 months ago (2017-05-03 03:36:37 UTC) #6
dnj
(friendly ping)
3 years, 7 months ago (2017-05-03 19:09:19 UTC) #7
Dirk Pranke
lgtm. I agree with mithro@ that a test might be ideal, but I also don't ...
3 years, 7 months ago (2017-05-03 20:26:06 UTC) #9
dnj
Hey - PTAL again. I added a test and updated "MockExecutive" to track "env". I'm ...
3 years, 7 months ago (2017-05-03 22:02:21 UTC) #10
Dirk Pranke
Thanks for adding the test, still lgtm. https://codereview.chromium.org/2859703002/diff/40001/third_party/WebKit/Tools/Scripts/webkitpy/common/system/executive_mock.py File third_party/WebKit/Tools/Scripts/webkitpy/common/system/executive_mock.py (right): https://codereview.chromium.org/2859703002/diff/40001/third_party/WebKit/Tools/Scripts/webkitpy/common/system/executive_mock.py#newcode222 third_party/WebKit/Tools/Scripts/webkitpy/common/system/executive_mock.py:222: return get_args(self.full_calls) ...
3 years, 7 months ago (2017-05-04 00:05:48 UTC) #11
dnj
https://codereview.chromium.org/2859703002/diff/40001/third_party/WebKit/Tools/Scripts/webkitpy/common/system/executive_mock.py File third_party/WebKit/Tools/Scripts/webkitpy/common/system/executive_mock.py (right): https://codereview.chromium.org/2859703002/diff/40001/third_party/WebKit/Tools/Scripts/webkitpy/common/system/executive_mock.py#newcode222 third_party/WebKit/Tools/Scripts/webkitpy/common/system/executive_mock.py:222: return get_args(self.full_calls) On 2017/05/04 00:05:48, Dirk Pranke (slow until ...
3 years, 7 months ago (2017-05-04 00:20:38 UTC) #12
Dirk Pranke
https://codereview.chromium.org/2859703002/diff/40001/third_party/WebKit/Tools/Scripts/webkitpy/common/system/executive_mock.py File third_party/WebKit/Tools/Scripts/webkitpy/common/system/executive_mock.py (right): https://codereview.chromium.org/2859703002/diff/40001/third_party/WebKit/Tools/Scripts/webkitpy/common/system/executive_mock.py#newcode222 third_party/WebKit/Tools/Scripts/webkitpy/common/system/executive_mock.py:222: return get_args(self.full_calls) On 2017/05/04 00:20:37, dnj wrote: > On ...
3 years, 7 months ago (2017-05-04 00:43:46 UTC) #13
dnj
On 2017/05/04 00:43:46, Dirk Pranke (slow until May 4) wrote: > https://codereview.chromium.org/2859703002/diff/40001/third_party/WebKit/Tools/Scripts/webkitpy/common/system/executive_mock.py > File third_party/WebKit/Tools/Scripts/webkitpy/common/system/executive_mock.py ...
3 years, 7 months ago (2017-05-04 01:13:17 UTC) #14
Dirk Pranke
On 2017/05/04 01:13:17, dnj wrote: > On 2017/05/04 00:43:46, Dirk Pranke (slow until May 4) ...
3 years, 7 months ago (2017-05-04 01:24:55 UTC) #15
dnj
Done. NP, is fun to play with other code bases from time to time :) ...
3 years, 7 months ago (2017-05-04 16:07:54 UTC) #20
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/2859703002/60001
3 years, 7 months ago (2017-05-04 16:14:26 UTC) #26
commit-bot: I haz the power
3 years, 7 months ago (2017-05-04 17:48:51 UTC) #29
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/9cc81c66fbe4e06f84a5d8647faf...

Powered by Google App Engine
This is Rietveld 408576698