From 948ca22923fe7fb06a79fc1400021b161b8e1a58 Mon Sep 17 00:00:00 2001 From: Chris Bracken Date: Mon, 13 Feb 2017 21:31:53 -0800 Subject: [PATCH] Update test instructions for flutter_tools (#8126) flutter_tools testing requires the FLUTTER_TOOLS environment variable to be set. * Add note about ensuring that no devices are connected --- packages/flutter_tools/README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/flutter_tools/README.md b/packages/flutter_tools/README.md index 2bf8423718..9c091436f9 100644 --- a/packages/flutter_tools/README.md +++ b/packages/flutter_tools/README.md @@ -2,7 +2,9 @@ Tools for building Flutter applications. -To run the tests: +To run the tests, ensure that no devices are connected and run: -- pub get -- pub run test +```shell +pub get +FLUTTER_ROOT=$PWD/../.. dart --checked test/all.dart +```