Add RUNTIME_BIN as dependency of cuda-tests target.

The runtime binary is needed in order to use it as a Docker runtime.

PiperOrigin-RevId: 691527431
This commit is contained in:
Etienne Perot
2024-10-30 13:13:33 -07:00
committed by gVisor bot
parent 0c4a709bc1
commit 380b660c3a
+1 -1
View File
@@ -331,7 +331,7 @@ cos-gpu-all-tests: gpu-images cos-gpu-smoke-tests $(RUNTIME_BIN)
@$(call sudo,test/gpu:sniffer_test,--runtime=$(RUNTIME) -test.v --cos-gpu $(ARGS))
.PHONY: cos-gpu-all-tests
cuda-tests: load-gpu_cuda-tests
cuda-tests: load-gpu_cuda-tests $(RUNTIME_BIN)
@$(call install_runtime,$(RUNTIME),--nvproxy=true --nvproxy-docker=true)
@$(call sudo,test/gpu:cuda_test,--runtime=$(RUNTIME) -test.v $(ARGS))
.PHONY: cuda-tests