summaryrefslogtreecommitdiff
path: root/testsuite/mk/test.mk
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/mk/test.mk')
-rw-r--r--testsuite/mk/test.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/mk/test.mk b/testsuite/mk/test.mk
index 53f86cb9d4..483d17c051 100644
--- a/testsuite/mk/test.mk
+++ b/testsuite/mk/test.mk
@@ -17,6 +17,7 @@
# PLATFORM -- if accepting a result, accept it for the current platform.
# OS -- if accepting a result, accept it for all wordsizes of the
# current os.
+# PERF_BASELINE_COMMIT - the baseline commit to use for performance tests.
#
# -----------------------------------------------------------------------------
@@ -303,6 +304,11 @@ RUNTEST_OPTS += \
--no-print-summary
endif
+ifneq "$(PERF_BASELINE_COMMIT)" ""
+RUNTEST_OPTS += \
+ --perf-baseline "$(PERF_BASELINE_COMMIT)"
+endif
+
RUNTEST_OPTS += \
$(EXTRA_RUNTEST_OPTS)