comparison src/testdir/Make_ming.mak @ 20120:16460964c304 v8.2.0615

patch 8.2.0615: regexp benchmark stest is old style Commit: https://github.com/vim/vim/commit/ad48e6c1590842ab6d48e6caba3e9250734dae27 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Apr 21 22:19:45 2020 +0200 patch 8.2.0615: regexp benchmark stest is old style Problem: Regexp benchmark stest is old style. Solution: Make it a new style test. Fix using a NULL list. Add more tests. (Yegappan Lakshmanan, closes #5963)
author Bram Moolenaar <Bram@vim.org>
date Tue, 21 Apr 2020 22:30:03 +0200
parents 8e10cabcde8a
children dc1c26547a42
comparison
equal deleted inserted replaced
20119:35c4224dc232 20120:16460964c304
33 # test10 'errorformat' is different 33 # test10 'errorformat' is different
34 # test97 \{ and \$ are not escaped characters 34 # test97 \{ and \$ are not escaped characters
35 35
36 SCRIPTS = $(SCRIPTS_ALL) $(SCRIPTS_MORE1) $(SCRIPTS_MORE4) $(SCRIPTS_WIN32) 36 SCRIPTS = $(SCRIPTS_ALL) $(SCRIPTS_MORE1) $(SCRIPTS_MORE4) $(SCRIPTS_WIN32)
37 37
38 SCRIPTS_BENCH = bench_re_freeze.out 38 SCRIPTS_BENCH = test_bench_regexp.res
39 39
40 # Must run test1 first to create small.vim. 40 # Must run test1 first to create small.vim.
41 $(SCRIPTS) $(SCRIPTS_GUI) $(SCRIPTS_WIN32) $(NEW_TESTS_RES): $(SCRIPTS_FIRST) 41 $(SCRIPTS) $(SCRIPTS_GUI) $(SCRIPTS_WIN32) $(NEW_TESTS_RES): $(SCRIPTS_FIRST)
42 42
43 .SUFFIXES: .in .out .res .vim 43 .SUFFIXES: .in .out .res .vim
108 108
109 nolog: 109 nolog:
110 -@if exist test.log $(DEL) test.log 110 -@if exist test.log $(DEL) test.log
111 -@if exist messages $(DEL) messages 111 -@if exist messages $(DEL) messages
112 112
113 bench_re_freeze.out: bench_re_freeze.vim 113 test_bench_regexp.res: test_bench_regexp.vim
114 -$(DEL) benchmark.out 114 -$(DEL) benchmark.out
115 $(VIMPROG) -u dos.vim $(NO_INITS) $*.in 115 @echo $(VIMPROG) > vimcmd
116 $(VIMPROG) -u NONE $(NO_INITS) -S runtest.vim $*.vim
117 @$(DEL) vimcmd
116 $(CAT) benchmark.out 118 $(CAT) benchmark.out
117 119
118 # New style of tests uses Vim script with assert calls. These are easier 120 # New style of tests uses Vim script with assert calls. These are easier
119 # to write and a lot easier to read and debug. 121 # to write and a lot easier to read and debug.
120 # Limitation: Only works with the +eval feature. 122 # Limitation: Only works with the +eval feature.