| Index: tests/compiler/dart2js/js_backend_cps_ir_operators_test.dart
|
| diff --git a/tests/compiler/dart2js/js_backend_cps_ir_operators.dart b/tests/compiler/dart2js/js_backend_cps_ir_operators_test.dart
|
| similarity index 91%
|
| rename from tests/compiler/dart2js/js_backend_cps_ir_operators.dart
|
| rename to tests/compiler/dart2js/js_backend_cps_ir_operators_test.dart
|
| index 781dde163343504220f9e088198a02baac4b9d7d..18aa0c52aa30912733722fd6c0f2e4f78b50e86d 100644
|
| --- a/tests/compiler/dart2js/js_backend_cps_ir_operators.dart
|
| +++ b/tests/compiler/dart2js/js_backend_cps_ir_operators_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 operators.
|
|
|
| library operators_tests;
|
|
|
| -import 'js_backend_cps_ir_test.dart';
|
| +import 'js_backend_cps_ir.dart';
|
|
|
| const List<TestEntry> tests = const [
|
| const TestEntry("main() { return true ? 42 : 'foo'; }"),
|
| @@ -43,3 +44,7 @@ main() { print(foo || foo); }""",
|
| return null;
|
| }"""),
|
| ];
|
| +
|
| +void main() {
|
| + runTests(tests);
|
| +}
|
|
|