To: vim_dev@googlegroups.com Subject: Patch 8.2.5031 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.5031 Problem: Cannot easily run the benchmarks. Solution: Have "make benchmark" in the src directory work. Files: src/Makefile, src/testdir/Makefile *** ../vim-8.2.5030/src/Makefile 2022-05-06 18:08:48.548683486 +0100 --- src/Makefile 2022-05-27 19:57:54.795564081 +0100 *************** *** 2245,2252 **** testtiny: cd testdir; $(MAKE) -f Makefile tiny VIMPROG=../$(VIMTARGET) SCRIPTSOURCE=../$(SCRIPTSOURCE) benchmark: ! cd testdir; $(MAKE) -f Makefile benchmark VIMPROG=../$(VIMTARGET) SCRIPTSOURCE=../$(SCRIPTSOURCE) unittesttargets: $(MAKE) -f Makefile $(UNITTEST_TARGETS) --- 2245,2255 ---- testtiny: cd testdir; $(MAKE) -f Makefile tiny VIMPROG=../$(VIMTARGET) SCRIPTSOURCE=../$(SCRIPTSOURCE) + # Run benchmarks. benchmark: ! cd testdir; \ ! $(MAKE) -f Makefile benchmarkclean; \ ! $(MAKE) -f Makefile benchmark VIMPROG=../$(VIMTARGET) SCRIPTSOURCE=../$(SCRIPTSOURCE) unittesttargets: $(MAKE) -f Makefile $(UNITTEST_TARGETS) *** ../vim-8.2.5030/src/testdir/Makefile 2022-05-16 11:14:05.106515306 +0100 --- src/testdir/Makefile 2022-05-27 20:07:02.719273075 +0100 *************** *** 90,95 **** --- 90,99 ---- -rm -f valgrind.* -rm -f asan.* + # Delete the files produced by benchmarking, so they can run again. + benchmarkclean: + rm -f $(SCRIPTS_BENCH) + nolog: -rm -f test.log test_result.log messages *** ../vim-8.2.5030/src/version.c 2022-05-27 18:05:28.335620087 +0100 --- src/version.c 2022-05-27 19:34:40.692313149 +0100 *************** *** 736,737 **** --- 736,739 ---- { /* Add new patch number below this line */ + /**/ + 5031, /**/ -- Why doesn't Tarzan have a beard? /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///