Only set --bench for crate tests when PLEASE_BENCH is set

closes #22291
This commit is contained in:
Florian Hahn 2015-02-14 23:10:53 +01:00
parent 95b228ab95
commit ff1181da15

View File

@ -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