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

Side by Side Diff: tools/testing/dart/test_configurations.dart

Issue 2673133002: Get rid of --use-repository-packages and --use-public-packages. (Closed)
Patch Set: Remove unused import. Created 3 years, 10 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 unified diff | Download patch
« no previous file with comments | « tools/bots/pkg.py ('k') | tools/testing/dart/test_options.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library test_configurations; 5 library test_configurations;
6 6
7 import "dart:async"; 7 import "dart:async";
8 import 'dart:io'; 8 import 'dart:io';
9 import "dart:math" as math; 9 import "dart:math" as math;
10 10
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 // vm tests contain both cc tests (added here) and dart tests (added 201 // vm tests contain both cc tests (added here) and dart tests (added
202 // in [TEST_SUITE_DIRECTORIES]). 202 // in [TEST_SUITE_DIRECTORIES]).
203 testSuites.add(new VMTestSuite(conf)); 203 testSuites.add(new VMTestSuite(conf));
204 } else if (conf['analyzer']) { 204 } else if (conf['analyzer']) {
205 if (key == 'analyze_library') { 205 if (key == 'analyze_library') {
206 testSuites.add(new AnalyzeLibraryTestSuite(conf)); 206 testSuites.add(new AnalyzeLibraryTestSuite(conf));
207 } 207 }
208 } else if (conf['compiler'] == 'none' && 208 } else if (conf['compiler'] == 'none' &&
209 conf['runtime'] == 'vm' && 209 conf['runtime'] == 'vm' &&
210 key == 'pkgbuild') { 210 key == 'pkgbuild') {
211 if (!conf['use_repository_packages'] &&
212 !conf['use_public_packages']) {
213 print("You need to use either --use-repository-packages or "
214 "--use-public-packages with the pkgbuild test suite!");
215 exit(1);
216 }
217 if (!conf['use_sdk']) { 211 if (!conf['use_sdk']) {
218 print("Running the 'pkgbuild' test suite requires " 212 print("Running the 'pkgbuild' test suite requires "
219 "passing the '--use-sdk' to test.py"); 213 "passing the '--use-sdk' to test.py");
220 exit(1); 214 exit(1);
221 } 215 }
222 testSuites.add( 216 testSuites.add(
223 new PkgBuildTestSuite(conf, 'pkgbuild', 'pkg/pkgbuild.status')); 217 new PkgBuildTestSuite(conf, 'pkgbuild', 'pkg/pkgbuild.status'));
224 } 218 }
225 } 219 }
226 } 220 }
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 maxBrowserProcesses, 302 maxBrowserProcesses,
309 startTime, 303 startTime,
310 testSuites, 304 testSuites,
311 eventListener, 305 eventListener,
312 allTestsFinished, 306 allTestsFinished,
313 verbose, 307 verbose,
314 recordingPath, 308 recordingPath,
315 recordingOutputPath, 309 recordingOutputPath,
316 adbDevicePool); 310 adbDevicePool);
317 } 311 }
OLDNEW
« no previous file with comments | « tools/bots/pkg.py ('k') | tools/testing/dart/test_options.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698