summaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-05-27 20:13:28 +0100
committerBram Moolenaar <Bram@vim.org>2022-05-27 20:13:28 +0100
commit76381a5b4f3f6de1df33a8ab3e1f7db2e1764af6 (patch)
treeaeacd5b725e9c59b75d02496dd95e31ae937ce07 /src/Makefile
parente0ff3a7de6030b73d94121626deb8229e66e82b2 (diff)
patch 8.2.5031: cannot easily run the benchmarksv8.2.5031
Problem: Cannot easily run the benchmarks. Solution: Have "make benchmark" in the src directory work.
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index d15e314efa..939912148f 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -2245,8 +2245,11 @@ testgui:
testtiny:
cd testdir; $(MAKE) -f Makefile tiny VIMPROG=../$(VIMTARGET) SCRIPTSOURCE=../$(SCRIPTSOURCE)
+# Run benchmarks.
benchmark:
- cd testdir; $(MAKE) -f Makefile benchmark VIMPROG=../$(VIMTARGET) SCRIPTSOURCE=../$(SCRIPTSOURCE)
+ cd testdir; \
+ $(MAKE) -f Makefile benchmarkclean; \
+ $(MAKE) -f Makefile benchmark VIMPROG=../$(VIMTARGET) SCRIPTSOURCE=../$(SCRIPTSOURCE)
unittesttargets:
$(MAKE) -f Makefile $(UNITTEST_TARGETS)