blob: b9f170ca45b7f42140e6c1157682a3f7aa10e950 [file] [log] [blame]
# 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 package can be built and tests
# can pass.
# TODO( Delete this script once infra has built-in support for
# running tests.
readonly REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"/..
source "$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"/ || exit $?
cd "${REPO_ROOT}"
$(run_bazel info bazel-bin)/src/