blob: 81df0e087c8c627317b12e711f874032e4fc30e8 [file] [log] [blame]
#!/bin/bash
# Copyright 2013 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Fast fail the script on failures.
set -e
# Print commands to stdout
set -x
flutter packages get
dart test/network_test_server.dart &
SERVER_PID=$!
sleep 2
flutter test
kill $SERVER_PID