Files
sdk/runtime/tests/vm/dart/minimal_kernel_bytecode_test.dart
T
Alexander Markov b17e8ca9f7 [vm/tests] Speed up / filter slow vm/dart/minimal_kernel*_test
This test runs gen_kernel tool to compile itself with global
optimizations enabled. Such compilation is quite slow by itself, and
in various modes such as debug mode or hot-reload testing mode it takes
even more time and causes flaky timeouts on various bots.

This change replaces script being compiled with a small Dart script.
Also, the test is filtered on various slow configurations.

Fixes https://github.com/dart-lang/sdk/issues/41352

Change-Id: I45a6c7965f3ad84f75e4aa1315c9a3d00ea97cb4
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/142553
Reviewed-by: Alexander Aprelev <aam@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
2020-04-07 05:14:58 +00:00

15 lines
488 B
Dart

// Copyright (c) 2020, 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.
// OtherResources=minimal_kernel_script.dart
// Tests that dill file produced with --minimal-kernel --gen-bytecode
// options works as expected.
import 'minimal_kernel_test.dart' as test;
main() async {
await test.compileAndRunMinimalDillTest(['--gen-bytecode']);
}