blob: 0ceca3cf423109264eed2c9dd85a0d6eabecff47 [file] [log] [blame]
#!/usr/bin/env bash
bazel_bin=$(which bazelisk 2>/dev/null)
if [[ -z "$bazel_bin" ]]; then
echo "Warning: bazelisk is not installed; falling back to bazel."
bazel_bin=bazel
fi
# At least temporarily we want to know what is going on even when all tests are
# passing, so we have a better chance of debugging what happens in CI test runs
# that were supposed to catch test failures, but did not.
${bazel_bin} test \
"$@" \
--test_verbose_timeout_warnings \
--test_output=all \
//polygerrit-ui:karma_test