aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Lukacs Berki <lberki@google.com>2015-09-25 15:18:49 +0000
committerGravatar Han-Wen Nienhuys <hanwen@google.com>2015-09-28 11:39:01 +0000
commitb393a53c5a3ce2cfd28a42d6362a02401f987543 (patch)
tree1cdffbcb8a9db946893d63d9ce5310a3b0401f7e /tools
parentdc7af5392e60b6b98ebaea7ead11d47218a8df03 (diff)
Find the test setup script based on its basename and not its precise exec path.
This is necessary so that the existence of a script //tools/test:test-setup.sh is not hardcoded into Bazel, which is in turn necessary so that the Bazel tools (//tools/...) are not required to be in the main repository. -- MOS_MIGRATED_REVID=103943618
Diffstat (limited to 'tools')
-rw-r--r--tools/test/BUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/test/BUILD b/tools/test/BUILD
index a2ef5084c6..93b2e7a65f 100644
--- a/tools/test/BUILD
+++ b/tools/test/BUILD
@@ -1,5 +1,7 @@
package(default_visibility = ["//visibility:public"])
+# Members of this filegroup shouldn't have duplicate basenames, otherwise
+# TestRunnerAction#getRuntimeArtifact() will get confused.
filegroup(
name = "runtime",
srcs = ["test-setup.sh"],