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

Side by Side Diff: tools/test.dart

Issue 1922163002: Initial support to test.dart for running precompiler tests on android devices (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Some fixes Created 4 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 unified diff | Download patch
OLDNEW
1 #!/usr/bin/env dart 1 #!/usr/bin/env dart
2 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 2 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
3 // for details. All rights reserved. Use of this source code is governed by a 3 // for details. All rights reserved. Use of this source code is governed by a
4 // BSD-style license that can be found in the LICENSE file. 4 // BSD-style license that can be found in the LICENSE file.
5 5
6 /** 6 /**
7 * This file is the entrypoint of the dart test suite. This suite is used 7 * This file is the entrypoint of the dart test suite. This suite is used
8 * to test: 8 * to test:
9 * 9 *
10 * 1. the dart vm 10 * 1. the dart vm
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 }, onDone: completer.complete); 50 }, onDone: completer.complete);
51 } else { 51 } else {
52 completer.complete(); 52 completer.complete();
53 } 53 }
54 return completer.future; 54 return completer.future;
55 } 55 }
56 56
57 void main(List<String> arguments) { 57 void main(List<String> arguments) {
58 // This script is in [dart]/tools. 58 // This script is in [dart]/tools.
59 TestUtils.setDartDirUri(Platform.script.resolve('..')); 59 TestUtils.setDartDirUri(Platform.script.resolve('..'));
60 _deleteTemporaryDartDirectories().then((_) { 60 _deleteTemporaryDartDirectories().then((_) async {
61 var optionsParser = new TestOptionsParser(); 61 var optionsParser = new TestOptionsParser();
62 var configurations = optionsParser.parse(arguments); 62 var configurations = optionsParser.parse(arguments);
63 if (configurations != null && configurations.length > 0) { 63 if (configurations != null && configurations.length > 0) {
64 testConfigurations(configurations); 64 await testConfigurations(configurations);
Bill Hesse 2016/04/27 12:22:31 What does this even do? We aren't doing anything
kustermann 2016/04/27 13:25:08 It runs all the tests. So it makes sense that it r
65 } 65 }
66 }); 66 });
67 } 67 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698