gerrit/prologtests/examples/BUILD
David Ostrovsky 042d70872f Bazel: Pass current host java runtime to sh_test rule
Change-Id: I5f41dc1d8c46160b6870a53544293c44531adc81
2019-10-30 16:42:00 +09:00

13 lines
336 B
Python

package(default_visibility = ["//visibility:public"])
sh_test(
name = "test_examples",
srcs = ["run.sh"],
args = ["$(JAVA)"],
data = glob(["*.pl"]) + [
"//:gerrit.war",
"@bazel_tools//tools/jdk:current_host_java_runtime",
],
toolchains = ["@bazel_tools//tools/jdk:current_host_java_runtime"],
)