#!/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. | |
set -e | |
# This script is used by infra to validate the driver can be built and tests | |
# can pass. | |
readonly REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"/.. | |
readonly BAZELISK_TOOL="${REPO_ROOT}/bazel" | |
main() { | |
"$BAZELISK_TOOL" --version | |
echo "Everything build and all tests passed." | |
} | |
main "$@" |