From 10ca12b3d089fa16f67d886ed6dc2cacd2468d0b Mon Sep 17 00:00:00 2001 From: Andrei Vagin Date: Mon, 12 Oct 2020 17:55:37 -0700 Subject: gvisor/test: Set nogotsan for native tests Tests are written in C++ and there is no reason to run them with gotsan without gVisor. PiperOrigin-RevId: 336783276 --- test/runner/defs.bzl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/runner/defs.bzl b/test/runner/defs.bzl index 248053dc3..232fdd4d4 100644 --- a/test/runner/defs.bzl +++ b/test/runner/defs.bzl @@ -102,6 +102,10 @@ def _syscall_test( # Disable off-host networking. tags.append("requires-net:loopback") + # gotsan makes sense only if tests are running in gVisor. + if platform == "native": + tags.append("nogotsan") + runner_args = [ # Arguments are passed directly to runner binary. "--platform=" + platform, -- cgit v1.2.3