Add dev/run_tests

This script runs the Flutter unit tests. By default, the script assumes you
have compiled a SkyShell in an "engine/src" that's a peer to the "flutter"
directory.
This commit is contained in:
Adam Barth
2015-11-06 23:14:17 -08:00
parent 08539b4e4d
commit 2ed113430a
5 changed files with 48 additions and 9 deletions

View File

@@ -19,7 +19,7 @@ class TestCommand extends FlutterCommand {
final String description = 'Runs Flutter unit tests for the current project (requires a local build of the engine).';
TestCommand() {
argParser.addOption('build-dir', defaultsTo: '../../../engine/src/out/Debug');
argParser.addOption('build-dir', help: 'The directory in which to find a prebuilt engine');
}
String get _shellPath {