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

Unified Diff: tests/compiler/dart2js/serialization/compilation2_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/compilation2_test.dart
diff --git a/pkg/analyzer_cli/test/data/embedder_client/embedder_yaml_user.dart b/tests/compiler/dart2js/serialization/compilation2_test.dart
similarity index 58%
copy from pkg/analyzer_cli/test/data/embedder_client/embedder_yaml_user.dart
copy to tests/compiler/dart2js/serialization/compilation2_test.dart
index 2d88a2adebdfa58a10363e94f0250ef66aa8b6b6..65dc96d5c740c172094a1fbec614d3160def5629 100644
--- a/pkg/analyzer_cli/test/data/embedder_client/embedder_yaml_user.dart
+++ b/tests/compiler/dart2js/serialization/compilation2_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.compilation2_test;
+
+import 'compilation_test_helper.dart' as test;
+import 'test_data.dart';
main() {
- print(new Bear()); // Defined in 'dart:bear'
+ test.main(['${TESTS.length ~/ 2}']);
}

Powered by Google App Engine
This is Rietveld 408576698