diff options
author | Fabricio Voznika <fvoznika@google.com> | 2020-12-17 12:40:26 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-12-17 12:42:09 -0800 |
commit | eeee055d60bed55c864c3b87c23785b00f1609e8 (patch) | |
tree | 45e1166e2d1998390abbef0afd538b60cb3fe699 | |
parent | 1ea241e4cc9529d45817e448c66f85213778f948 (diff) |
Set --nocache_test_results to runtime tests
If not set, the cached result is used even when runtime options
are changed, because they are not visible to blaze/bazel.
PiperOrigin-RevId: 348074339
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -130,7 +130,9 @@ configure = $(call configure_noreload,$(1),$(2)) && $(reload_docker) # Helpers for above. Requires $(RUNTIME_BIN) dependency. install_runtime = $(call configure,$(RUNTIME),$(1) --TESTONLY-test-name-env=RUNSC_TEST_NAME) -test_runtime = $(call test,--test_arg=--runtime=$(RUNTIME) $(PARTITIONS) $(1)) +# Don't use cached results, otherwise multiple runs using different runtimes +# are skipped. +test_runtime = $(call test,--test_arg=--runtime=$(RUNTIME) --nocache_test_results $(PARTITIONS) $(1)) refresh: $(RUNTIME_BIN) ## Updates the runtime binary. .PHONY: refresh |