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
This commit is contained in:
Andrei Vagin
2020-10-12 17:57:37 -07:00
committed by gVisor bot
parent 4885931ac3
commit 10ca12b3d0
+4
View File
@@ -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,