Mercurial > vim
annotate src/testdir/main.aap @ 11434:b3815e491811 v8.0.0601
patch 8.0.0601: no test coverage for :spellrepall
commit https://github.com/vim/vim/commit/545cb79da586be3333a0a55616046f94b01f6b1a
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue May 23 11:31:22 2017 +0200
patch 8.0.0601: no test coverage for :spellrepall
Problem: No test coverage for :spellrepall.
Solution: Add a test. (Dominique Pelle, closes https://github.com/vim/vim/issues/1717)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 23 May 2017 11:45:03 +0200 |
parents | f089eb0a5fa4 |
children | 140d51d5b5c3 |
rev | line source |
---|---|
7 | 1 # |
2440
fc695854c33a
Correct comments in testdir makefiles. (John Beckett)
Bram Moolenaar <bram@vim.org>
parents:
2050
diff
changeset
|
2 # Makefile to run all tests for Vim |
7 | 3 # |
4 | |
5 VimProg ?= ../vim | |
6 | |
7 Scripts = test1.out test2.out test3.out test4.out test5.out test6.out | |
8649
ec78ecf15de7
commit https://github.com/vim/vim/commit/7eba3d2cbf19e731dc51652bc26099cc253d538a
Christian Brabandt <cb@256bit.org>
parents:
2607
diff
changeset
|
8 test7.out test8.out test9.out test11.out |
7 | 9 test12.out test13.out test14.out test15.out test17.out |
10 test18.out test19.out test20.out test21.out test22.out | |
11 test23.out test24.out test25.out test26.out test27.out | |
12 test28.out test29.out test30.out test31.out test32.out | |
9361
f089eb0a5fa4
commit https://github.com/vim/vim/commit/52df117df724a7ad20affdf15214d2df2e507dcc
Christian Brabandt <cb@256bit.org>
parents:
8649
diff
changeset
|
13 test33.out test34.out test36.out test37.out |
7 | 14 test38.out test39.out test40.out test41.out test42.out |
15 test43.out test44.out test45.out test46.out test47.out | |
2607 | 16 test48.out test49.out test74.out |
7 | 17 |
18 ScriptsGUI = test16.out | |
19 | |
20 # Build "nongui" when no target was specified. | |
21 nongui: newlog $Scripts | |
22 :print | |
23 :cat test.log | |
24 :print ALL DONE | |
25 | |
26 # Build "ngui" when specified. | |
27 gui: newlog $Scripts $ScriptsGUI | |
28 :print | |
29 :cat test.log | |
30 :print ALL DONE | |
31 | |
32 $Scripts $ScriptsGUI: $VimProg | |
33 | |
34 clean: | |
2050 | 35 :del {r}{force} *.out test.log tiny.vim small.vim mbyte.vim mzscheme.vim test.ok X* |
7 | 36 |
37 # test1 is special, it checks for features | |
38 test1.out: test1.in | |
2050 | 39 :del {force} test1.failed tiny.vim small.vim mbyte.vim mzscheme.vim |
7 | 40 :sys {i} $VimProg -u unix.vim -U NONE --noplugin -s dotest.in test1.in |
41 @if os.system("diff test.out test1.ok") != 0: | |
42 :error test1 FAILED - Something basic is wrong | |
43 :move {force} test.out test1.out | |
44 :del {r}{force} X* | |
45 | |
46 :rule %.out : %.in | |
47 :del {force} $(match).failed test.ok | |
48 :copy $(match).ok test.ok | |
49 :sys {i} $VimProg -u unix.vim -U NONE --noplugin -s dotest.in $(match).in | |
50 @if os.system("diff test.out " + match + ".ok") != 0: | |
51 :print $match FAILED >>test.log | |
52 :move {force} test.out $(match).failed | |
53 @else: | |
54 :move {force} test.out $(match).out | |
55 :del {r}{force} X* test.ok | |
56 | |
57 newlog: | |
58 :print Test results: >! test.log |