blob: 0ee4e1772976271a580dca9c83a7fbc23c8872f7 [file] [log] [blame]
// Copyright (c) 2017, 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.
import 'dart:io';
import 'package:async_helper/async_helper.dart';
import 'package:compiler/src/resolution/enum_creator.dart';
import '../equivalence/id_equivalence_helper.dart';
import 'inference_test_helper.dart';
/// Tests covering behavior only implemented in the new
/// kernel-based pipeline.
const List<String> skipforAst = const <String>[
'logical_better.dart',
];
/// Tests that are not yet working in the kernel pipeline.
const List<String> skipforKernel = const <String>[];
main(List<String> args) {
asyncTest(() async {
EnumCreator.matchKernelRepresentationForTesting = true;
Directory dataDir = new Directory.fromUri(Platform.script.resolve('data'));
await checkTests(
dataDir, computeMemberAstTypeMasks, computeMemberIrTypeMasks,
args: args,
skipforAst: skipforAst,
skipForKernel: skipforKernel,
options: [stopAfterTypeInference]);
});
}