aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/remote_build
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2018-10-24 17:31:49 +0200
committerGravatar Jan Tattermusch <jtattermusch@google.com>2018-10-24 23:31:54 +0200
commit23eec0c4ec8fd1917e9631353e8abc4702b0c789 (patch)
tree0ae2d8d1e4ea84f437eddaa89437999712706648 /tools/remote_build
parentbfcce96efc7b26523ce78716301a4e3b5fe4baed (diff)
align tsan configuration
Diffstat (limited to 'tools/remote_build')
-rw-r--r--tools/remote_build/README.md2
-rw-r--r--tools/remote_build/rbe_common.bazelrc11
2 files changed, 12 insertions, 1 deletions
diff --git a/tools/remote_build/README.md b/tools/remote_build/README.md
index 77e7cabf2a..7492de75a5 100644
--- a/tools/remote_build/README.md
+++ b/tools/remote_build/README.md
@@ -25,6 +25,6 @@ bazel --bazelrc=tools/remote_build/manual.bazelrc test -c opt //test/...
Sanitizer runs (asan, msan, tsan, ubsan):
```
-# manual run of bazel tests remotely on Foundry
+# manual run of bazel tests remotely on Foundry with given sanitizer
bazel --bazelrc=tools/remote_build/manual.bazelrc test --config=asan //test/...
```
diff --git a/tools/remote_build/rbe_common.bazelrc b/tools/remote_build/rbe_common.bazelrc
index b4959790b4..dc18f53d1a 100644
--- a/tools/remote_build/rbe_common.bazelrc
+++ b/tools/remote_build/rbe_common.bazelrc
@@ -55,3 +55,14 @@ build:asan --test_tag_filters=-qps_json_driver,-json_run_localhost
#build:asan --copt=-DGPR_NO_DIRECT_SYSCALLS
#build:asan --action_env=ASAN_OPTIONS=detect_leaks=1:color=always
#build:asan --action_env=LSAN_OPTIONS=suppressions=test/core/util/lsan_suppressions.txt:report_objects=1
+
+# thread sanitizer: most settings are already in %workspace%/.bazelrc
+# we only need a few additional ones that are Foundry specific
+build:tsan --copt=-gmlt
+# TODO(jtattermusch): use more reasonable test timeout
+build:tsan --test_timeout=3600
+build:tsan --test_tag_filters=-qps_json_driver,-json_run_localhost
+# TODO: revisit these from bazel.rc:
+#build:tsan --copt=-fno-omit-frame-pointer
+#build:tsan --copt=-DGPR_NO_DIRECT_SYSCALLS
+#build:tsan --copt=-DGRPC_TSAN