blob: 592d611d0c7bf6fd62e7b4d33984be1cd0b8f956 [file] [log] [blame]
# Copyright 2022 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Runs the rules_cros tests. Must be run in the chroot.
# TODO(b/266581027): These tests have been broken for a long time, and need to
# be reenabled once we fix up this codebase. For now, they just break the CQ
# needlessly.
echo "All tests skipped; see for details."
exit 0
if ! test -f "/etc/cros_chroot_version"; then
echo "Must be run in the chroot."
exit 1
cd $(dirname ${BASH_SOURCE[0]})
bazel-5 test --test_output=all //test:rules_cros_toolchain_test