mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00

This command uses package:test to run Dart tests with sky_shell. For this to work, we need https://github.com/dart-lang/test/tree/hacky-loader-hook to land. We're also not smart enough to find sky_shell ourselves yet. Instead, we take the path as input using an environment variable. Eventually, we'll be able to get the sky_shell executable from package:sky_engine, but we don't yet ship that executable.
12 lines
367 B
Dart
12 lines
367 B
Dart
// Copyright 2015 The Chromium Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
import 'package:test/src/executable.dart' as executable;
|
|
import 'package:sky_tools/src/test/loader.dart' as loader;
|
|
|
|
main(List<String> args) {
|
|
loader.installHook();
|
|
return executable.main(args);
|
|
}
|