| Index: tests/compiler/dart2js/js_backend_cps_ir.dart
|
| diff --git a/tests/compiler/dart2js/js_backend_cps_ir.dart b/tests/compiler/dart2js/js_backend_cps_ir.dart
|
| index a435110c7c1fc0b5bc241e9640806982dedebee5..e3fb44dcb8888e75e02c577292a10099bb689d3b 100644
|
| --- a/tests/compiler/dart2js/js_backend_cps_ir.dart
|
| +++ b/tests/compiler/dart2js/js_backend_cps_ir.dart
|
| @@ -58,13 +58,10 @@ String getCodeForMethod(Compiler compiler,
|
| }
|
|
|
| runTests(List<TestEntry> tests) {
|
| - Expect.isTrue(const bool.fromEnvironment("USE_CPS_IR"),
|
| - 'Run with USE_CPS_IR=true');
|
| -
|
| for (TestEntry test in tests) {
|
| Map files = {TEST_MAIN_FILE: test.source};
|
| asyncTest(() {
|
| - Compiler compiler = compilerFor(files);
|
| + Compiler compiler = compilerFor(files, options: <String>['--use-cps-ir']);
|
| Uri uri = Uri.parse('memory:$TEST_MAIN_FILE');
|
| return compiler.run(uri).then((bool success) {
|
| Expect.isTrue(success);
|
|
|