about summary refs log tree commit diff
diff options
context:
space:
mode:
authorKevin Ballard <kevin@sb.org>2015-01-19 10:59:57 -0800
committerKevin Ballard <kevin@sb.org>2015-01-19 10:59:57 -0800
commitc1660174454d5baccf10efdc9bf634624ee18ff5 (patch)
tree6fa2e344f3fde3b7067a46ea635865d3fda5f360
parentcda3490f8fb099a1ddd1f253a75c29110042dc01 (diff)
Fix `make check PLEASE_BENCH=1`
611ef49f2fa573edf9cff4442eddb8ee7e48878d removed all the metrics stuff
from tests.mk, but this meant that `PLEASE_BENCH=1` no longer did
anything.

Fixes #21324.
-rw-r--r--mk/tests.mk4
1 files changed, 1 insertions, 3 deletions
diff --git a/mk/tests.mk b/mk/tests.mk
index c8c4beb1153..933cbce0cc6 100644
--- a/mk/tests.mk
+++ b/mk/tests.mk
@@ -38,16 +38,14 @@ ifdef CHECK_IGNORED
   TESTARGS += --ignored
 endif
 
-TEST_BENCH =
 
 # Arguments to the cfail/rfail/rpass/bench tests
 ifdef CFG_VALGRIND
   CTEST_RUNTOOL = --runtool "$(CFG_VALGRIND)"
-  TEST_BENCH =
 endif
 
 ifdef PLEASE_BENCH
-  TEST_BENCH = --bench
+  TESTARGS += --bench
 endif
 
 # Arguments to the perf tests