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

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

Issue 2987393002: enable batch mode for dartdevc tests, also fix status so ddc bots pass (Closed)
Patch Set: fix Created 3 years, 4 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/testing/dart/compiler_configuration.dart ('k') | tools/testing/dart/test_runner.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) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, 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 import 'dart:async'; 5 import 'dart:async';
6 import 'dart:convert'; 6 import 'dart:convert';
7 import 'dart:io'; 7 import 'dart:io';
8 8
9 import 'compiler_configuration.dart'; 9 import 'compiler_configuration.dart';
10 import 'http_server.dart'; 10 import 'http_server.dart';
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 print("-rflutter requires the flutter engine executable to " 349 print("-rflutter requires the flutter engine executable to "
350 "be specified using --flutter"); 350 "be specified using --flutter");
351 isValid = false; 351 isValid = false;
352 } 352 }
353 353
354 if (runtime == Runtime.flutter && architecture != Architecture.x64) { 354 if (runtime == Runtime.flutter && architecture != Architecture.x64) {
355 isValid = false; 355 isValid = false;
356 print("-rflutter is applicable only for --arch=x64"); 356 print("-rflutter is applicable only for --arch=x64");
357 } 357 }
358 358
359 if (compiler == Compiler.dartdevc && !useSdk) {
360 isValid = false;
361 print("--compiler dartdevc requires --use-sdk");
362 }
363
364 if (compiler == Compiler.dartdevc && !isStrong) { 359 if (compiler == Compiler.dartdevc && !isStrong) {
365 isValid = false; 360 isValid = false;
366 print("--compiler dartdevc requires --strong"); 361 print("--compiler dartdevc requires --strong");
367 } 362 }
368 363
369 return isValid; 364 return isValid;
370 } 365 }
371 366
372 /// Starts global HTTP servers that serve the entire dart repo. 367 /// Starts global HTTP servers that serve the entire dart repo.
373 /// 368 ///
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
737 732
738 case macos: 733 case macos:
739 return 'xcodebuild/'; 734 return 'xcodebuild/';
740 } 735 }
741 736
742 throw "unreachable"; 737 throw "unreachable";
743 } 738 }
744 739
745 String toString() => "System($name)"; 740 String toString() => "System($name)";
746 } 741 }
OLDNEW
« no previous file with comments | « tools/testing/dart/compiler_configuration.dart ('k') | tools/testing/dart/test_runner.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698