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

Unified Diff: tests/compiler/dart2js/serialization/analysis2_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/analysis2_test.dart
diff --git a/pkg/analyzer_cli/test/data/embedder_client/embedder_yaml_user.dart b/tests/compiler/dart2js/serialization/analysis2_test.dart
similarity index 59%
copy from pkg/analyzer_cli/test/data/embedder_client/embedder_yaml_user.dart
copy to tests/compiler/dart2js/serialization/analysis2_test.dart
index 2d88a2adebdfa58a10363e94f0250ef66aa8b6b6..b13a6a366532d50714c23712dc1c2e4b66fdd4e3 100644
--- a/pkg/analyzer_cli/test/data/embedder_client/embedder_yaml_user.dart
+++ b/tests/compiler/dart2js/serialization/analysis2_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.analysis2_test;
+
+import 'analysis_test_helper.dart' as test;
+import 'test_data.dart';
main() {
- print(new Bear()); // Defined in 'dart:bear'
+ test.main(['${TESTS.length ~/ 2}']);
}
« no previous file with comments | « tests/compiler/dart2js/serialization/analysis1_test.dart ('k') | tests/compiler/dart2js/serialization/analysis_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698