about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--mk/tests.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/mk/tests.mk b/mk/tests.mk
index 6b35cbdaf77..5e6879fb412 100644
--- a/mk/tests.mk
+++ b/mk/tests.mk
@@ -42,6 +42,10 @@ ifdef CFG_VALGRIND
   TEST_BENCH =
 endif
 
+ifdef NO_BENCH
+  TEST_BENCH =
+endif
+
 # Arguments to the perf tests
 ifdef CFG_PERF_TOOL
   CTEST_PERF_RUNTOOL = --runtool "$(CFG_PERF_TOOL)"