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
This commit is contained in:
parent
1ea241e4cc
commit
eeee055d60
4
Makefile
4
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
|
||||
|
|
Loading…
Reference in New Issue