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

Issue 556313004: Added TempDir (Closed)

Created:
6 years, 3 months ago by pgervais
Modified:
6 years, 3 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/infra/testing/expect_tests@shebang
Visibility:
Public.

Description

Added TempDir Context-manager for temporary directory handling, similar to tempfile.TemporaryDirectory on Python 3. BUG=405428 R=dnj@chromium.org, tandrii@chromium.org Committed: https://chromium.googlesource.com/infra/testing/expect_tests/+/1ca63fb18b9e896e98ccc7c8db53a7893ed4f74e

Patch Set 1 #

Total comments: 3

Patch Set 2 : Added periods at end of sentences. #

Total comments: 13

Patch Set 3 : Rebased #

Patch Set 4 : Added process names #

Unified diffs Side-by-side diffs Delta from patch set Stats (+122 lines, -101 lines) Patch
M expect_tests/pipeline.py View 1 2 3 4 chunks +54 lines, -101 lines 0 comments Download
A expect_tests/tempdir.py View 1 1 chunk +68 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
pgervais
I made temporary directory handling re-entrant.
6 years, 3 months ago (2014-09-11 00:45:55 UTC) #2
pgervais
+Sergey, +Dan
6 years, 3 months ago (2014-09-11 19:47:26 UTC) #4
tandrii(chromium)
Not reviewer, but did a review. LGTM with nitpicks. https://codereview.chromium.org/556313004/diff/1/expect_tests/tempdir.py File expect_tests/tempdir.py (right): https://codereview.chromium.org/556313004/diff/1/expect_tests/tempdir.py#newcode39 expect_tests/tempdir.py:39: ...
6 years, 3 months ago (2014-09-12 16:18:11 UTC) #6
dnj
https://codereview.chromium.org/556313004/diff/20001/expect_tests/pipeline.py File expect_tests/pipeline.py (right): https://codereview.chromium.org/556313004/diff/20001/expect_tests/pipeline.py#newcode231 expect_tests/pipeline.py:231: multiprocessing.Process( Consider giving the process a name for debugging/tracking ...
6 years, 3 months ago (2014-09-12 17:31:57 UTC) #7
pgervais
https://codereview.chromium.org/556313004/diff/20001/expect_tests/pipeline.py File expect_tests/pipeline.py (right): https://codereview.chromium.org/556313004/diff/20001/expect_tests/pipeline.py#newcode231 expect_tests/pipeline.py:231: multiprocessing.Process( On 2014/09/12 17:31:56, dnj wrote: > Consider giving ...
6 years, 3 months ago (2014-09-12 18:16:02 UTC) #8
pgervais
https://codereview.chromium.org/556313004/diff/20001/expect_tests/tempdir.py File expect_tests/tempdir.py (right): https://codereview.chromium.org/556313004/diff/20001/expect_tests/tempdir.py#newcode48 expect_tests/tempdir.py:48: os.kill(int(f.read()), 0) On 2014/09/12 18:16:02, pgervais wrote: > On ...
6 years, 3 months ago (2014-09-12 18:19:17 UTC) #9
dnj
lgtm https://codereview.chromium.org/556313004/diff/20001/expect_tests/tempdir.py File expect_tests/tempdir.py (right): https://codereview.chromium.org/556313004/diff/20001/expect_tests/tempdir.py#newcode31 expect_tests/tempdir.py:31: def set_temp_dir(suffix=TEMP_SUFFIX): On 2014/09/12 18:16:02, pgervais wrote: > ...
6 years, 3 months ago (2014-09-12 23:22:11 UTC) #10
pgervais
6 years, 3 months ago (2014-09-12 23:24:20 UTC) #11
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as 1ca63fb (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698