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

Issue 250693002: Adding custom environment variable support to presubmit_canned_checks.GetUnitTestsInDirectory (Closed)

Created:
6 years, 8 months ago by smut
Modified:
6 years, 8 months ago
CC:
chromium-reviews, Dirk Pranke, cmp-cc_chromium.org, iannucci+depot_tools_chromium.org, ilevy-cc_chromium.org
Visibility:
Public.

Description

Adding custom environment variable support to presubmit_canned_checks.GetUnitTestsInDirectory I want to run Python unit tests as part of my presubmit, and those unit tests require PYTHONPATH to be set the way it would be set when the modules they test are running. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=265998

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -4 lines) Patch
M presubmit_canned_checks.py View 1 3 chunks +7 lines, -4 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
ghost stip (do not use)
https://codereview.chromium.org/250693002/diff/1/presubmit_canned_checks.py File presubmit_canned_checks.py (right): https://codereview.chromium.org/250693002/diff/1/presubmit_canned_checks.py#newcode557 presubmit_canned_checks.py:557: kwargs={'cwd': input_api.PresubmitLocalPath(), 'env': env}, what is env if you ...
6 years, 8 months ago (2014-04-24 20:49:03 UTC) #1
smut
https://codereview.chromium.org/250693002/diff/1/presubmit_canned_checks.py File presubmit_canned_checks.py (right): https://codereview.chromium.org/250693002/diff/1/presubmit_canned_checks.py#newcode557 presubmit_canned_checks.py:557: kwargs={'cwd': input_api.PresubmitLocalPath(), 'env': env}, On 2014/04/24 20:49:03, stip wrote: ...
6 years, 8 months ago (2014-04-24 20:55:40 UTC) #2
ghost stip (do not use)
lgtm
6 years, 8 months ago (2014-04-24 21:34:04 UTC) #3
smut
The CQ bit was checked by smut@google.com
6 years, 8 months ago (2014-04-24 21:38:56 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/smut@google.com/250693002/20001
6 years, 8 months ago (2014-04-24 21:39:35 UTC) #5
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-24 21:42:45 UTC) #6
commit-bot: I haz the power
Presubmit check for 250693002-20001 failed and returned exit status 1. Running presubmit commit checks ...
6 years, 8 months ago (2014-04-24 21:42:46 UTC) #7
smut
The CQ bit was checked by smut@google.com
6 years, 8 months ago (2014-04-24 21:44:27 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/smut@google.com/250693002/20001
6 years, 8 months ago (2014-04-24 21:45:00 UTC) #9
commit-bot: I haz the power
6 years, 8 months ago (2014-04-24 21:47:18 UTC) #10
Message was sent while issue was closed.
Change committed as 265998

Powered by Google App Engine
This is Rietveld 408576698