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

Unified Diff: tests/compiler/dart2js/serialization/compilation1_test.dart

Issue 2096423002: Split long-running serialization tests to avoid timeouts (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 6 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
Index: tests/compiler/dart2js/serialization/compilation1_test.dart
diff --git a/pkg/analyzer_cli/test/data/embedder_client/embedder_yaml_user.dart b/tests/compiler/dart2js/serialization/compilation1_test.dart
similarity index 57%
copy from pkg/analyzer_cli/test/data/embedder_client/embedder_yaml_user.dart
copy to tests/compiler/dart2js/serialization/compilation1_test.dart
index 2d88a2adebdfa58a10363e94f0250ef66aa8b6b6..8eb5f47793fa596ae22e9c025741170d3302b510 100644
--- a/pkg/analyzer_cli/test/data/embedder_client/embedder_yaml_user.dart
+++ b/tests/compiler/dart2js/serialization/compilation1_test.dart
@@ -2,8 +2,11 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-import 'dart:bear'; // Defined in package_with_embedder_yaml/lib/_embedder.yaml
+library dart2js.serialization.compilation1_test;
+
+import 'compilation_test_helper.dart' as test;
+import 'test_data.dart';
main() {
- print(new Bear()); // Defined in 'dart:bear'
+ test.main(['0', '${TESTS.length ~/ 2}']);
}

Powered by Google App Engine
This is Rietveld 408576698