test.sh 649 Bytes
Newer Older
1 2 3
#!/bin/bash
set -ex

4 5
export PATH="$PWD/bin:$PATH"

Hixie's avatar
Hixie committed
6
# analyze all the Dart code in the repo
7
flutter analyze --flutter-repo --no-current-directory --no-current-package --congratulate
8

Hixie's avatar
Hixie committed
9
(cd packages/cassowary; pub run test -j1)
10
(cd packages/flutter; flutter test)
11
(cd packages/flutter_sprites; flutter test)
Hixie's avatar
Hixie committed
12
(cd packages/flutter_tools; pub run test -j1)
13
# (cd packages/flutter_test; ) # No tests to run.
Hixie's avatar
Hixie committed
14 15 16 17
(cd packages/flx; pub run test -j1)
(cd packages/newton; pub run test -j1)
# (cd packages/playfair; ) # No tests to run.
# (cd packages/updater; ) # No tests to run.
18
(cd packages/flutter_driver; pub run test -j1)
19

20
(cd examples/stocks; flutter test)