Skip to content

Commit

Permalink
Only set --bench for crate tests when PLEASE_BENCH is set
Browse files Browse the repository at this point in the history
closes #22291
  • Loading branch information
fhahn committed Feb 14, 2015
1 parent 95b228a commit ff1181d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions mk/tests.mk
Original file line number Diff line number Diff line change
Expand Up @@ -38,23 +38,23 @@ 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)"
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
Expand Down

0 comments on commit ff1181d

Please sign in to comment.