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

Unified Diff: tools/testing/dart/test_suite.dart

Issue 229183002: Include PUB_CACHE when invoking build.dart too. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 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
« no previous file with comments | « pkg/pkgbuild.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/test_suite.dart
diff --git a/tools/testing/dart/test_suite.dart b/tools/testing/dart/test_suite.dart
index ff40733caa5678deeac473ea690efccc3c19b50c..4a12b7a80afbf7db0e0a8e73d4225234a2a7d4cf 100644
--- a/tools/testing/dart/test_suite.dart
+++ b/tools/testing/dart/test_suite.dart
@@ -1790,14 +1790,14 @@ class PkgBuildTestSuite extends TestSuite {
var dartBinary = new File(dartVmBinaryFileName).absolute.path;
commands.add(CommandBuilder.instance.getProcessCommand(
- "custom_build", dartBinary, ['build.dart'], null,
- checkoutDir));
+ "custom_build", dartBinary, ['build.dart'],
+ {'PUB_CACHE': cacheDir}, checkoutDir));
// We only try to deploy the application if it's a webapp.
if (containsWebDirectory) {
commands.add(CommandBuilder.instance.getProcessCommand(
- "custom_deploy", dartBinary, ['build.dart', '--deploy'], null,
- checkoutDir));
+ "custom_deploy", dartBinary, ['build.dart', '--deploy'],
+ {'PUB_CACHE': cacheDir}, checkoutDir));
}
} else if (containsWebDirectory) {
commands.add(CommandBuilder.instance.getPubCommand(
« no previous file with comments | « pkg/pkgbuild.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698