From eeee055d60bed55c864c3b87c23785b00f1609e8 Mon Sep 17 00:00:00 2001 From: Fabricio Voznika Date: Thu, 17 Dec 2020 12:40:26 -0800 Subject: [PATCH] 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 --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8565102b3..4b9f64a7c 100644 --- a/Makefile +++ b/Makefile @@ -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