| #!/bin/bash |
| # |
| # Copyright 2022 The Fuchsia Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| # |
| # Runs local tests for all workflow scripts. Not runnable on CQ. |
| # |
| # Usage: |
| # $FUCHSIA_EMBEDDER_DIR/scripts/tests/run_all.sh |
| |
| set -e # Fail on any error. |
| source "$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"/../lib/helpers.sh || exit $? |
| |
| for test in ${FUCHSIA_EMBEDDER_DIR}/scripts/tests/*_test.sh |
| do |
| echo-info "Running $test ..." |
| $test |
| done |