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

Issue 6625018: Add trial_dir to manage automatic trial directory creation and deletion. (Closed)

Created:
9 years, 9 months ago by M-A Ruel
Modified:
9 years, 7 months ago
CC:
chromium-reviews, Dirk Pranke, Bernhard Bauer
Visibility:
Public.

Description

Add trial_dir to manage automatic trial directory creation and deletion. The tests now base the directory in mkdtemp() which is much safer than using the source's file directory as before. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=77278

Patch Set 1 #

Total comments: 9

Patch Set 2 : Address comments #

Patch Set 3 : Fix docstring #

Patch Set 4 : fix typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+124 lines, -80 lines) Patch
M tests/fake_repos.py View 1 12 chunks +37 lines, -80 lines 0 comments Download
A tests/trial_dir.py View 1 2 3 1 chunk +87 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
M-A Ruel
This should help a lot. Based on http://codereview.chromium.org/6632007.
9 years, 9 months ago (2011-03-04 19:35:13 UTC) #1
Evan Martin
http://codereview.chromium.org/6625018/diff/1/tests/fake_repos.py File tests/fake_repos.py (right): http://codereview.chromium.org/6625018/diff/1/tests/fake_repos.py#newcode276 tests/fake_repos.py:276: super(FakeReposBase, self).set_up() I feel like this mechanism, where you ...
9 years, 9 months ago (2011-03-04 19:46:11 UTC) #2
M-A Ruel
http://codereview.chromium.org/6625018/diff/1/tests/trial_dir.py File tests/trial_dir.py (right): http://codereview.chromium.org/6625018/diff/1/tests/trial_dir.py#newcode16 tests/trial_dir.py:16: sys.path.insert(0, os.path.dirname(ROOT_DIR)) On 2011/03/04 19:46:11, Evan Martin wrote: > ...
9 years, 9 months ago (2011-03-04 20:00:49 UTC) #3
Evan Martin
sorry for slow review, didn't realize you'd uploaded fixes LGTM, minor fix below http://codereview.chromium.org/6625018/diff/1/tests/trial_dir.py File ...
9 years, 9 months ago (2011-03-04 21:44:28 UTC) #4
M-A Ruel
Fixed the docstring.
9 years, 9 months ago (2011-03-04 21:55:08 UTC) #5
M-A Ruel
On 2011/03/04 21:55:08, Marc-Antoine Ruel wrote: > Fixed the docstring. and fixed typo.
9 years, 9 months ago (2011-03-04 22:12:15 UTC) #6
commit-bot: I haz the power
9 years, 9 months ago (2011-03-08 13:40:31 UTC) #7
Change committed as 77278

Powered by Google App Engine
This is Rietveld 408576698