Files
sdk/runtime/tests/vm/dart/minimal_kernel_script.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

11 lines
383 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.
import "dart:convert";
main(List<String> args) {
final String encoded = base64.encode(args[0].codeUnits);
print(String.fromCharCodes(base64.decode(encoded)));
}