blob: 6b4749fcd48f05c317a677dd22d285cab2ff9d37 [file] [edit]
load("@rules_shell//shell:sh_test.bzl", "sh_test")
package(default_visibility = ["//visibility:public"])
sh_test(
name = "test_examples",
srcs = ["run.sh"],
args = [
"$(JAVABASE)",
"$(rlocationpath //:gerrit.war)",
],
data = glob(["*.pl"]) + [
"//:gerrit.war",
"@bazel_tools//tools/bash/runfiles",
"@bazel_tools//tools/jdk:current_host_java_runtime",
],
toolchains = ["@bazel_tools//tools/jdk:current_host_java_runtime"],
use_bash_launcher = True,
)