Also, make sure that broken tests actually break the bots.

And add a test to make sure that keeps happening.
This commit is contained in:
Ian Hickson
2016-05-17 12:45:37 -07:00
parent c192a7e4ca
commit f284c1a049
13 changed files with 88 additions and 30 deletions

View File

@@ -6,6 +6,10 @@ export PATH="$PWD/bin:$PWD/bin/cache/dart-sdk/bin:$PATH"
# analyze all the Dart code in the repo
flutter analyze --flutter-repo
# verify that the tests actually return failure on failure and success on success
(cd dev/automated_tests; ! flutter test test_smoke_test/fail_test.dart > /dev/null)
(cd dev/automated_tests; flutter test test_smoke_test/pass_test.dart > /dev/null)
# run tests
(cd packages/flutter; flutter test)
(cd packages/flutter_driver; dart -c test/all.dart)