mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user