From 98f3211aeb714ae18137fd2671bb302ba1a4375a Mon Sep 17 00:00:00 2001 From: Andrei Vagin Date: Tue, 30 Apr 2024 12:21:01 -0700 Subject: [PATCH] test/gpu: don't use the local tag bazel doesn't cache tests with the local tag. PiperOrigin-RevId: 629492097 --- test/gpu/BUILD | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/test/gpu/BUILD b/test/gpu/BUILD index de5c4c1b8..b097d48b0 100644 --- a/test/gpu/BUILD +++ b/test/gpu/BUILD @@ -8,8 +8,10 @@ package( go_test( name = "smoke_test", srcs = ["smoke_test.go"], + # runsc is needed to invalidate the bazel cache in case of any code changes. + data = ["//runsc"], tags = [ - "local", + "manual", "noguitar", "notap", ], @@ -20,8 +22,10 @@ go_test( go_test( name = "pytorch_test", srcs = ["pytorch_test.go"], + # runsc is needed to invalidate the bazel cache in case of any code changes. + data = ["//runsc"], tags = [ - "local", + "manual", "noguitar", "notap", ], @@ -32,9 +36,11 @@ go_test( go_test( name = "textgen_test", srcs = ["textgen_test.go"], + # runsc is needed to invalidate the bazel cache in case of any code changes. + data = ["//runsc"], embedsrcs = ["gvisor.png"], tags = [ - "local", + "manual", "noguitar", "notap", ], @@ -49,8 +55,10 @@ go_test( go_test( name = "sr_test", srcs = ["sr_test.go"], + # runsc is needed to invalidate the bazel cache in case of any code changes. + data = ["//runsc"], tags = [ - "local", + "manual", "noguitar", "notap", ], @@ -66,8 +74,10 @@ go_test( name = "cuda_test", timeout = "eternal", # YES_I_REALLY_NEED_AN_ETERNAL_TEST srcs = ["cuda_test.go"], + # runsc is needed to invalidate the bazel cache in case of any code changes. + data = ["//runsc"], tags = [ - "local", + "manual", "noguitar", "notap", ], @@ -82,8 +92,10 @@ go_test( go_test( name = "imagegen_test", srcs = ["imagegen_test.go"], + # runsc is needed to invalidate the bazel cache in case of any code changes. + data = ["//runsc"], tags = [ - "local", + "manual", "noguitar", "notap", ],