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

Unified Diff: sdk/lib/_internal/pub/test/test_pub.dart

Issue 14914007: Add a "pub deploy" command. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes. Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sdk/lib/_internal/pub/test/test_pub.dart
diff --git a/sdk/lib/_internal/pub/test/test_pub.dart b/sdk/lib/_internal/pub/test/test_pub.dart
index e2a06f58e3dd07a363e28c2fbfff5d4448a68b5a..f8b5cb9ec817a1a2f5b67443f798f67649460c64 100644
--- a/sdk/lib/_internal/pub/test/test_pub.dart
+++ b/sdk/lib/_internal/pub/test/test_pub.dart
@@ -371,6 +371,7 @@ ScheduledProcess startPub({List args, Future<Uri> tokenEndpoint}) {
options.workingDirectory = pathInSandbox(appPath);
// TODO(nweiz): remove this when issue 9294 is fixed.
options.environment = new Map.from(Platform.environment);
+ options.environment['_PUB_TESTING'] = 'true';
options.environment['PUB_CACHE'] = pathInSandbox(cachePath);
options.environment['DART_SDK'] = pathInSandbox(sdkPath);
if (tokenEndpoint != null) {

Powered by Google App Engine
This is Rietveld 408576698