bazel: update MODULE and tools
This commit is contained in:
@@ -25,10 +25,10 @@ module(
|
||||
|
||||
# see https://registry.bazel.build/
|
||||
# Bazel dependencies
|
||||
bazel_dep(name = "bazel_skylib", version = "1.8.1")
|
||||
bazel_dep(name = "bazel_skylib", version = "1.8.2")
|
||||
bazel_dep(name = "contrib_rules_jvm", version = "0.28.0")
|
||||
bazel_dep(name = "platforms", version = "1.0.0")
|
||||
bazel_dep(name = "rules_cc", version = "0.2.0")
|
||||
bazel_dep(name = "rules_cc", version = "0.2.9")
|
||||
bazel_dep(name = "rules_go", version = "0.53.0")
|
||||
bazel_dep(name = "rules_java", version = "8.14.0")
|
||||
bazel_dep(name = "rules_jvm_external", version = "6.7")
|
||||
@@ -89,7 +89,7 @@ SUPPORTED_PYTHON_VERSIONS = [
|
||||
"3.13",
|
||||
]
|
||||
|
||||
DEFAULT_PYTHON = "3.11"
|
||||
DEFAULT_PYTHON = "3.12"
|
||||
|
||||
python = use_extension("@rules_python//python/extensions:python.bzl", "python", dev_dependency = True)
|
||||
|
||||
|
||||
@@ -47,14 +47,15 @@ def parse_label(label):
|
||||
|
||||
def get_check_contains_code(line):
|
||||
return """
|
||||
if ! grep -qF "{line}" "${{LOGFILE}}"; then
|
||||
if ! grep --quiet --fixed-strings "{line}" "${{LOGFILE}}"; then
|
||||
echo "---------------------------------------------------------------"
|
||||
cat "${{LOGFILE}}"
|
||||
echo "---------------------------------------------------------------"
|
||||
echo "FAILURE: string '{line}' was not found in the output."
|
||||
echo "---------------------------------------------------------------"
|
||||
exit 1
|
||||
fi
|
||||
""".format(line = line)
|
||||
""".format(line = line)
|
||||
|
||||
def run_binary_test(
|
||||
name,
|
||||
|
||||
@@ -15,5 +15,5 @@
|
||||
set -e # Fail on error
|
||||
|
||||
declare -r LOGFILE="${TEST_TMPDIR}/log.txt"
|
||||
{{binary_path}} "$@" > "${LOGFILE}"
|
||||
{{binary_path}} "$@" > "${LOGFILE}" 2>&1
|
||||
{{post_script}}
|
||||
|
||||
Reference in New Issue
Block a user