Only set --bench for crate tests when PLEASE_BENCH is set
closes #22291
This commit is contained in:
parent
95b228ab95
commit
ff1181da15
10
mk/tests.mk
10
mk/tests.mk
@ -38,16 +38,11 @@ ifdef CHECK_IGNORED
|
||||
TESTARGS += --ignored
|
||||
endif
|
||||
|
||||
|
||||
# Arguments to the cfail/rfail/rpass/bench tests
|
||||
ifdef CFG_VALGRIND
|
||||
CTEST_RUNTOOL = --runtool "$(CFG_VALGRIND)"
|
||||
endif
|
||||
|
||||
ifdef PLEASE_BENCH
|
||||
TESTARGS += --bench
|
||||
endif
|
||||
|
||||
# Arguments to the perf tests
|
||||
ifdef CFG_PERF_TOOL
|
||||
CTEST_PERF_RUNTOOL = --runtool "$(CFG_PERF_TOOL)"
|
||||
@ -55,6 +50,11 @@ endif
|
||||
|
||||
CTEST_TESTARGS := $(TESTARGS)
|
||||
|
||||
# --bench is only relevant for crate tests, not for the compile tests
|
||||
ifdef PLEASE_BENCH
|
||||
TESTARGS += --bench
|
||||
endif
|
||||
|
||||
ifdef VERBOSE
|
||||
CTEST_TESTARGS += --verbose
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user