Skip to content

Commit

Permalink
[rfw] Update customer_testing.sh for recent rfw changes (flutter#493)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hixie authored Oct 14, 2021
1 parent 54c2de5 commit 72bc4a7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
16 changes: 9 additions & 7 deletions customer_testing.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,22 @@

set -e

# ANIMATIONS PACKAGE

pushd packages/animations
flutter analyze --no-fatal-infos
flutter test
popd


# RFW PACKAGE

pushd packages/rfw

# Update the examples packages so that the analysis doesn't get confused.
pushd example/remote
flutter packages get
popd
pushd example/wasm
flutter packages get
popd
# Update the subpackages so that the analysis doesn't get confused.
pushd example/remote; flutter packages get; popd
pushd example/wasm; flutter packages get; popd
pushd test_coverage; dart pub get; popd

flutter analyze --no-fatal-infos
if [[ "$OSTYPE" == "linux-gnu" ]]; then
Expand Down
2 changes: 2 additions & 0 deletions packages/rfw/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

# This script is mentioned in the README.md file.

# This script is also called from: ../../customer_testing.sh

set -e
pushd test_coverage; dart pub get; popd
dart --enable-asserts test_coverage/bin/test_coverage.dart

0 comments on commit 72bc4a7

Please sign in to comment.