mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Override the test timeout for runtimes.
PiperOrigin-RevId: 324026021
This commit is contained in:
committed by
gVisor bot
parent
cb1a3ba63a
commit
6a59e765c3
@@ -155,7 +155,7 @@ syscall-tests: syscall-ptrace-tests syscall-kvm-tests syscall-native-tests
|
||||
|
||||
%-runtime-tests: load-runtimes_%
|
||||
@$(call submake,install-test-runtime)
|
||||
@$(call submake,test-runtime TARGETS="//test/runtimes:$*")
|
||||
@$(call submake,test-runtime OPTIONS="--test_timeout=10800" TARGETS="//test/runtimes:$*")
|
||||
|
||||
do-tests: runsc
|
||||
@$(call submake,run TARGETS="//runsc" ARGS="--rootless do true")
|
||||
@@ -370,5 +370,5 @@ configure: ## Configures a single runtime. Requires sudo. Typically called from
|
||||
.PHONY: configure
|
||||
|
||||
test-runtime: ## A convenient wrapper around test that provides the runtime argument. Target must still be provided.
|
||||
@$(call submake,test OPTIONS="$(OPTIONS) --test_output=streamed --test_arg=--runtime=$(RUNTIME)")
|
||||
@$(call submake,test OPTIONS="$(OPTIONS) --test_arg=--runtime=$(RUNTIME)")
|
||||
.PHONY: test-runtime
|
||||
|
||||
Reference in New Issue
Block a user