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

Unified Diff: dart/tools/test.dart

Issue 133653004: Reaply "Use a real package-root for all of our samples (and tests inside a package) instead of buil… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 11 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 | « dart/tools/bots/pub.py ('k') | dart/tools/testing/dart/test_options.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tools/test.dart
diff --git a/dart/tools/test.dart b/dart/tools/test.dart
index a8cd20c1f654b4c4b99f5bb251e566191db43276..278dc74f0471325468209eab4580d443b0e7b667 100755
--- a/dart/tools/test.dart
+++ b/dart/tools/test.dart
@@ -194,6 +194,11 @@ void testConfigurations(List<Map> configurations) {
} else if (conf['compiler'] == 'none' &&
conf['runtime'] == 'vm' &&
key == 'pkgbuild') {
+ if (!conf['use_repository_packages'] && !conf['use_public_packages']) {
+ print("You need to use either --use-repository-packages or "
+ "--use-public-packages with the pkgbuild test suite!");
+ exit(1);
+ }
if (!conf['use_sdk']) {
print("Running the 'pkgbuild' test suite requires "
"passing the '--use-sdk' to test.py");
« no previous file with comments | « dart/tools/bots/pub.py ('k') | dart/tools/testing/dart/test_options.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698