aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party
diff options
context:
space:
mode:
authorGravatar Brian Silverman <bsilver16384@gmail.com>2015-10-22 10:26:45 +0000
committerGravatar Kristina Chodorow <kchodorow@google.com>2015-10-22 15:17:25 +0000
commitfac21e564c9a9fe5288431f05e4ae6b5c19d35bf (patch)
tree5d604c69582b47ccd03171f1accd4345eca06f9e /third_party
parent854b72dddb80a4c8da6bf0ac9dbd683951875541 (diff)
Set sharding and tmpdir environment variables for googletest
The patch for googletest to prefer GTEST_TMP_DIR is google/googletest#619 and should be merged soon. -- Change-Id: If48220e8e1e4e78a8768aeb14b5b58e4f246c8c3 Reviewed-on: https://bazel-review.googlesource.com/#/c/2170/ MOS_MIGRATED_REVID=106043714
Diffstat (limited to 'third_party')
-rw-r--r--third_party/BUILD3
1 files changed, 3 insertions, 0 deletions
diff --git a/third_party/BUILD b/third_party/BUILD
index 98a718161d..91a450640f 100644
--- a/third_party/BUILD
+++ b/third_party/BUILD
@@ -349,6 +349,9 @@ cc_library(
hdrs = [
"gtest/gtest.h",
],
+ data = [
+ "//tools:test_sharding_compliant",
+ ],
includes = ["."],
# gtest detects pthread, and the linker fails without it.
linkopts = ["-lpthread"],