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

Unified Diff: tests/compiler/dart2js/js_backend_cps_ir_control_flow_test.dart

Issue 810183003: Split js_backend_cps_ir tests into multiple test units. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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/js_backend_cps_ir_control_flow_test.dart
diff --git a/tests/compiler/dart2js/js_backend_cps_ir_control_flow.dart b/tests/compiler/dart2js/js_backend_cps_ir_control_flow_test.dart
similarity index 95%
rename from tests/compiler/dart2js/js_backend_cps_ir_control_flow.dart
rename to tests/compiler/dart2js/js_backend_cps_ir_control_flow_test.dart
index 2695588a82560ce4dafae22a62b64594f1e16dc3..9f82e28ac05ea3d17dc3ebb19a2162621b28b9fa 100644
--- a/tests/compiler/dart2js/js_backend_cps_ir_control_flow.dart
+++ b/tests/compiler/dart2js/js_backend_cps_ir_control_flow_test.dart
@@ -1,12 +1,13 @@
// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
// 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.
+// VMOptions=-DUSE_CPS_IR=true
// Tests of control flow statements.
library control_flow_tests;
-import 'js_backend_cps_ir_test.dart';
+import 'js_backend_cps_ir.dart';
const List<TestEntry> tests = const [
const TestEntry("""
@@ -138,3 +139,7 @@ function() {
return null;
}"""),
];
+
+void main() {
+ runTests(tests);
+}
« no previous file with comments | « tests/compiler/dart2js/js_backend_cps_ir_control_flow.dart ('k') | tests/compiler/dart2js/js_backend_cps_ir_interceptors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698