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

Side by Side Diff: tests/compiler/dart2js/serialization/compilation_test_helper.dart

Issue 2241033002: More bot fixes (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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 dart2js.serialization_compilation_test; 5 library dart2js.serialization_compilation_test;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'package:async_helper/async_helper.dart'; 8 import 'package:async_helper/async_helper.dart';
9 import 'package:compiler/src/commandline_options.dart'; 9 import 'package:compiler/src/commandline_options.dart';
10 import 'package:compiler/src/filenames.dart'; 10 import 'package:compiler/src/filenames.dart';
11 import '../memory_compiler.dart'; 11 import '../memory_compiler.dart';
12 import 'helper.dart'; 12 import 'helper.dart';
13 import 'test_data.dart'; 13 import 'test_data.dart';
14 import '../output_collector.dart'; 14 import '../output_collector.dart';
15 15
16 /// Number of tests that are not part of the automatic test grouping. 16 /// Number of tests that are not part of the automatic test grouping.
17 int SKIP_COUNT = 2; 17 int SKIP_COUNT = 2;
18 18
19 /// Number of groups that the [TESTS] are split into. 19 /// Number of groups that the [TESTS] are split into.
20 int SPLIT_COUNT = 4; 20 int SPLIT_COUNT = 5;
21 21
22 main(List<String> args) { 22 main(List<String> args) {
23 asyncTest(() async { 23 asyncTest(() async {
24 Arguments arguments = new Arguments.from(args); 24 Arguments arguments = new Arguments.from(args);
25 SerializedData serializedData = 25 SerializedData serializedData =
26 await serializeDartCore(arguments: arguments); 26 await serializeDartCore(arguments: arguments);
27 if (arguments.filename != null) { 27 if (arguments.filename != null) {
28 Uri entryPoint = Uri.base.resolve(nativeToUriPath(arguments.filename)); 28 Uri entryPoint = Uri.base.resolve(nativeToUriPath(arguments.filename));
29 await compile( 29 await compile(
30 entryPoint, 30 entryPoint,
(...skipping 28 matching lines...) Expand all
59 memorySourceFiles: sourceFiles, 59 memorySourceFiles: sourceFiles,
60 resolutionInputs: resolutionInputs, 60 resolutionInputs: resolutionInputs,
61 options: options, 61 options: options,
62 outputProvider: outputCollector); 62 outputProvider: outputCollector);
63 }); 63 });
64 if (verbose) { 64 if (verbose) {
65 print(outputCollector.getOutput('', 'js')); 65 print(outputCollector.getOutput('', 'js'));
66 } 66 }
67 } 67 }
68 68
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/serialization/compilation5_test.dart ('k') | tests/compiler/dart2js/serialization/model5_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698