diff --git a/mk/platform.mk b/mk/platform.mk index 375cbf26a73..28ecb0a10e9 100644 --- a/mk/platform.mk +++ b/mk/platform.mk @@ -35,6 +35,7 @@ ifneq ($(findstring freebsd,$(CFG_OSTYPE)),) CFG_LDENV := LD_LIBRARY_PATH CFG_DEF_SUFFIX := .bsd.def CFG_INSTALL_NAME = + CFG_PERF_TOOL := /usr/bin/time endif ifneq ($(findstring linux,$(CFG_OSTYPE)),) diff --git a/mk/tests.mk b/mk/tests.mk index 50d6a54fd5e..1c147c6cfe7 100644 --- a/mk/tests.mk +++ b/mk/tests.mk @@ -288,8 +288,8 @@ check-stage$(1)-T-$(2)-H-$(3)-bench-dummy: \ check-stage$(1)-T-$(2)-H-$(3)-perf-dummy: \ $$(HBIN$(1)_H_$(3))/compiletest$$(X) \ - $$(SREQ$(1)_T_$(2)_H_$(3)) \ - $$(BENCH_TESTS) + $$(SREQ$(1)_T_$(2)_H_$(3)) \ + $$(BENCH_TESTS) @$$(call E, perf: $$<) $$(Q)$$(call CFG_RUN_CTEST,$(1),$$<,$(3)) \ $$(PERF_ARGS$(1)-T-$(2)-H-$(3))