Mercurial > vim
comparison src/testdir/Make_dos.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 | 41b2506c7662 |
children | dc1c26547a42 |
comparison
equal
deleted
inserted
replaced
20119:35c4224dc232 | 20120:16460964c304 |
---|---|
105 nolog: | 105 nolog: |
106 -if exist test.log del test.log | 106 -if exist test.log del test.log |
107 -if exist test_result.log del test_result.log | 107 -if exist test_result.log del test_result.log |
108 -if exist messages del messages | 108 -if exist messages del messages |
109 | 109 |
110 benchmark: | 110 benchmark: test_bench_regexp.res |
111 bench_re_freeze.out | |
112 | 111 |
113 bench_re_freeze.out: bench_re_freeze.vim | 112 test_bench_regexp.res: test_bench_regexp.vim |
114 -if exist benchmark.out del benchmark.out | 113 -if exist benchmark.out del benchmark.out |
115 $(VIMPROG) -u dos.vim $(NO_INITS) $*.in | 114 @echo $(VIMPROG) > vimcmd |
115 $(VIMPROG) -u NONE $(NO_INITS) -S runtest.vim $*.vim | |
116 @del vimcmd | |
116 @IF EXIST benchmark.out ( type benchmark.out ) | 117 @IF EXIST benchmark.out ( type benchmark.out ) |
117 | 118 |
118 # New style of tests uses Vim script with assert calls. These are easier | 119 # New style of tests uses Vim script with assert calls. These are easier |
119 # to write and a lot easier to read and debug. | 120 # to write and a lot easier to read and debug. |
120 # Limitation: Only works with the +eval feature. | 121 # Limitation: Only works with the +eval feature. |