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

Issue 2748123004: xvfb.py complains if command points to a directory. (Closed)

Created:
3 years, 9 months ago by carlosk
Modified:
3 years, 9 months ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

xvfb.py complains if command points to a directory. An update to xvfb.py changed its input arguments and the previously required first one pointing to the execution directory has been removed. This change adds makes it backwards-aware: if the first argument, now expected to be the command, points to a directory it exists gracefully with a helpful error message. BUG= Review-Url: https://codereview.chromium.org/2748123004 Cr-Commit-Position: refs/heads/master@{#456957} Committed: https://chromium.googlesource.com/chromium/src/+/cac17251a3c186a7cc91e27c6de76899f162215c

Patch Set 1 #

Total comments: 2

Patch Set 2 : Adds comment. #

Patch Set 3 : Better error message. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -2 lines) Patch
M testing/xvfb.py View 1 2 2 chunks +12 lines, -2 lines 0 comments Download

Messages

Total messages: 17 (8 generated)
carlosk
dpranke@: PTAL. thomasanderson@: FY.
3 years, 9 months ago (2017-03-14 22:15:06 UTC) #2
Tom Anderson
lgtm https://codereview.chromium.org/2748123004/diff/1/testing/xvfb.py File testing/xvfb.py (right): https://codereview.chromium.org/2748123004/diff/1/testing/xvfb.py#newcode88 testing/xvfb.py:88: if os.path.isdir(sys.argv[1]): nit: add a comment explaining why ...
3 years, 9 months ago (2017-03-14 22:43:43 UTC) #3
carlosk
Thanks. https://codereview.chromium.org/2748123004/diff/1/testing/xvfb.py File testing/xvfb.py (right): https://codereview.chromium.org/2748123004/diff/1/testing/xvfb.py#newcode88 testing/xvfb.py:88: if os.path.isdir(sys.argv[1]): On 2017/03/14 22:43:43, Thomas Anderson wrote: ...
3 years, 9 months ago (2017-03-14 23:47:23 UTC) #4
Dirk Pranke
lgtm
3 years, 9 months ago (2017-03-14 23:47:33 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/2748123004/20001
3 years, 9 months ago (2017-03-14 23:53:21 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/340233)
3 years, 9 months ago (2017-03-15 00:27:21 UTC) #10
carlosk
I took advantage of the (unrelated) CQ failure to improve the error message to specifically ...
3 years, 9 months ago (2017-03-15 00:37:20 UTC) #11
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/2748123004/40001
3 years, 9 months ago (2017-03-15 01:03:20 UTC) #14
commit-bot: I haz the power
3 years, 9 months ago (2017-03-15 02:21:57 UTC) #17
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/cac17251a3c186a7cc91e27c6de7...

Powered by Google App Engine
This is Rietveld 408576698