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

Issue 10825422: Don't pollute repo with temp dirs for pub tests. (Closed)

Created:
8 years, 4 months ago by Bob Nystrom
Modified:
8 years, 4 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Don't pollute repo with temp dirs for pub tests. Committed: https://code.google.com/p/dart/source/detail?r=10997

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -5 lines) Patch
M utils/pub/io.dart View 1 chunk +4 lines, -3 lines 0 comments Download
M utils/tests/pub/test_pub.dart View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Bob Nystrom
This fixes: http://code.google.com/p/dart/issues/detail?id=4559
8 years, 4 months ago (2012-08-17 17:16:33 UTC) #1
dgrove
lgtm
8 years, 4 months ago (2012-08-20 17:51:10 UTC) #2
Bill Hesse
8 years, 4 months ago (2012-08-21 10:34:07 UTC) #3
I don't think using the system temp directory is a good solution to this
problem, because that directory eventually fills up with garbage (perhaps slowly
in this case, so it won't really cause a problem).

For the other tests, we have put them in generated_tests in the build directory.
 If you need to do this from inside a test, you can use the path of the Dart
shell executable, which can be gotten from the Options class in dart:core.  This
also solves the problem of multiple instances (different architectures and
modes) being run at once - they have different build directories.

Powered by Google App Engine
This is Rietveld 408576698