blob: 1b234738784ef5b7be13530c4c5e37f295b98274 [file] [log] [blame]
#!/usr/bin/env bash
# Copyright 2019 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.
# Runner for cocoon scheduler config tests. It expects a single parameter with
# the full path to the config file under test.
set -ex
# Build and analyze
echo "Running config tests on $1"
pushd app_dart > /dev/null
flutter clean
pub get
dart bin/validate_scheduler_config.dart "$1"
popd > /dev/null