Mercurial > vim
annotate src/testdir/Makefile @ 15430:d94901eeb762 v8.1.0723
patch 8.1.0723: cannot easily run specific test when in src/testdir
commit https://github.com/vim/vim/commit/ec50401e1e1357a1340b3c92109fd4860e38a8ac
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jan 11 17:30:16 2019 +0100
patch 8.1.0723: cannot easily run specific test when in src/testdir
Problem: Cannot run specific test when in src/testdir the same was as in
the src directory.
Solution: Move build rule to src/testdir/Makefile.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 11 Jan 2019 17:45:05 +0100 |
parents | ba1f0c06b4be |
children | b10ce9e77128 |
rev | line source |
---|---|
7 | 1 # |
1326 | 2 # Makefile to run all tests for Vim |
7 | 3 # |
4 | |
7313
2062247be2d0
commit https://github.com/vim/vim/commit/3f12a2421bda43a4e48c822541b75f72ee11125a
Christian Brabandt <cb@256bit.org>
parents:
7293
diff
changeset
|
5 # Use console or GUI. |
7 | 6 VIMPROG = ../vim |
13634
2678e38e1de6
patch 8.0.1689: no tests for xxd
Christian Brabandt <cb@256bit.org>
parents:
12662
diff
changeset
|
7 XXDPROG = ../xxd/xxd |
7313
2062247be2d0
commit https://github.com/vim/vim/commit/3f12a2421bda43a4e48c822541b75f72ee11125a
Christian Brabandt <cb@256bit.org>
parents:
7293
diff
changeset
|
8 # VIMPROG = ../gvim |
2062247be2d0
commit https://github.com/vim/vim/commit/3f12a2421bda43a4e48c822541b75f72ee11125a
Christian Brabandt <cb@256bit.org>
parents:
7293
diff
changeset
|
9 |
5774 | 10 SCRIPTSOURCE = ../../runtime |
7 | 11 |
14889
ba1f0c06b4be
patch 8.1.0456: running test hangs when the input file is being edited
Bram Moolenaar <Bram@vim.org>
parents:
14824
diff
changeset
|
12 # Comment out this line to see the verbose output of tests. |
ba1f0c06b4be
patch 8.1.0456: running test hangs when the input file is being edited
Bram Moolenaar <Bram@vim.org>
parents:
14824
diff
changeset
|
13 # |
ba1f0c06b4be
patch 8.1.0456: running test hangs when the input file is being edited
Bram Moolenaar <Bram@vim.org>
parents:
14824
diff
changeset
|
14 # Catches SwapExists to avoid hanging at the ATTENTION prompt. |
ba1f0c06b4be
patch 8.1.0456: running test hangs when the input file is being edited
Bram Moolenaar <Bram@vim.org>
parents:
14824
diff
changeset
|
15 REDIR_TEST_TO_NULL = --cmd 'au SwapExists * let v:swapchoice = "e"' > /dev/null |
14824
845180495796
patch 8.1.0424: test output is very verbose, loading CI log is slow
Christian Brabandt <cb@256bit.org>
parents:
14802
diff
changeset
|
16 |
1920 | 17 # Uncomment this line to use valgrind for memory leaks and extra warnings. |
18 # The output goes into a file "valgrind.testN" | |
19 # Vim should be compiled with EXITFREE to avoid false warnings. | |
20 # This will make testing about 10 times as slow. | |
9137
8b2d6447fb6a
commit https://github.com/vim/vim/commit/af6c12c27bcb553b2fb2c8a9dcfde626fb3670fe
Christian Brabandt <cb@256bit.org>
parents:
8253
diff
changeset
|
21 # VALGRIND = valgrind --tool=memcheck --leak-check=yes --num-callers=25 --log-file=valgrind.$* |
1357 | 22 |
7366
eec1dc8ca160
commit https://github.com/vim/vim/commit/40bbceee2213a6fa8fdc1d3f3920d61fb5370803
Christian Brabandt <cb@256bit.org>
parents:
7356
diff
changeset
|
23 default: nongui |
2607 | 24 |
7354
81dc9e30aad6
commit https://github.com/vim/vim/commit/7b6156f4cd4027b664a916ba546e9b05d4c49e11
Christian Brabandt <cb@256bit.org>
parents:
7350
diff
changeset
|
25 # The list of tests is common to all systems. |
15430
d94901eeb762
patch 8.1.0723: cannot easily run specific test when in src/testdir
Bram Moolenaar <Bram@vim.org>
parents:
14889
diff
changeset
|
26 # This defines NEW_TESTS, NEW_TESTS_RES, SCRIPTS_ALL, SCRIPTS_MORE* and |
d94901eeb762
patch 8.1.0723: cannot easily run specific test when in src/testdir
Bram Moolenaar <Bram@vim.org>
parents:
14889
diff
changeset
|
27 # SCRIPTS_GUI. |
7354
81dc9e30aad6
commit https://github.com/vim/vim/commit/7b6156f4cd4027b664a916ba546e9b05d4c49e11
Christian Brabandt <cb@256bit.org>
parents:
7350
diff
changeset
|
28 include Make_all.mak |
81dc9e30aad6
commit https://github.com/vim/vim/commit/7b6156f4cd4027b664a916ba546e9b05d4c49e11
Christian Brabandt <cb@256bit.org>
parents:
7350
diff
changeset
|
29 |
7 | 30 |
7354
81dc9e30aad6
commit https://github.com/vim/vim/commit/7b6156f4cd4027b664a916ba546e9b05d4c49e11
Christian Brabandt <cb@256bit.org>
parents:
7350
diff
changeset
|
31 SCRIPTS = $(SCRIPTS_ALL) \ |
81dc9e30aad6
commit https://github.com/vim/vim/commit/7b6156f4cd4027b664a916ba546e9b05d4c49e11
Christian Brabandt <cb@256bit.org>
parents:
7350
diff
changeset
|
32 $(SCRIPTS_MORE1) \ |
81dc9e30aad6
commit https://github.com/vim/vim/commit/7b6156f4cd4027b664a916ba546e9b05d4c49e11
Christian Brabandt <cb@256bit.org>
parents:
7350
diff
changeset
|
33 $(SCRIPTS_MORE2) \ |
81dc9e30aad6
commit https://github.com/vim/vim/commit/7b6156f4cd4027b664a916ba546e9b05d4c49e11
Christian Brabandt <cb@256bit.org>
parents:
7350
diff
changeset
|
34 $(SCRIPTS_MORE4) |
7 | 35 |
6328 | 36 SCRIPTS_BENCH = bench_re_freeze.out |
37 | |
7277
6600871bb38c
commit https://github.com/vim/vim/commit/43345546ae63710441f066648b8485fb545b3801
Christian Brabandt <cb@256bit.org>
parents:
7275
diff
changeset
|
38 .SUFFIXES: .in .out .res .vim |
7 | 39 |
7356
f0eb9aa9eb32
commit https://github.com/vim/vim/commit/a60824308cd9bc192c5d38fc16cccfcf652b40f6
Christian Brabandt <cb@256bit.org>
parents:
7354
diff
changeset
|
40 nongui: nolog $(SCRIPTS_FIRST) $(SCRIPTS) newtests report |
1717 | 41 |
7356
f0eb9aa9eb32
commit https://github.com/vim/vim/commit/a60824308cd9bc192c5d38fc16cccfcf652b40f6
Christian Brabandt <cb@256bit.org>
parents:
7354
diff
changeset
|
42 gui: nolog $(SCRIPTS_FIRST) $(SCRIPTS) $(SCRIPTS_GUI) newtests report |
7 | 43 |
6328 | 44 benchmark: $(SCRIPTS_BENCH) |
45 | |
1717 | 46 report: |
7 | 47 @echo |
1717 | 48 @echo 'Test results:' |
49 @/bin/sh -c "if test -f test.log; \ | |
50 then cat test.log; echo TEST FAILURE; exit 1; \ | |
51 else echo ALL DONE; \ | |
52 fi" | |
7 | 53 |
15430
d94901eeb762
patch 8.1.0723: cannot easily run specific test when in src/testdir
Bram Moolenaar <Bram@vim.org>
parents:
14889
diff
changeset
|
54 $(SCRIPTS_FIRST) $(SCRIPTS) $(SCRIPTS_GUI) $(NEW_TESTS_RES): $(VIMPROG) |
7356
f0eb9aa9eb32
commit https://github.com/vim/vim/commit/a60824308cd9bc192c5d38fc16cccfcf652b40f6
Christian Brabandt <cb@256bit.org>
parents:
7354
diff
changeset
|
55 |
f0eb9aa9eb32
commit https://github.com/vim/vim/commit/a60824308cd9bc192c5d38fc16cccfcf652b40f6
Christian Brabandt <cb@256bit.org>
parents:
7354
diff
changeset
|
56 # Must run test1 first to create small.vim. |
15430
d94901eeb762
patch 8.1.0723: cannot easily run specific test when in src/testdir
Bram Moolenaar <Bram@vim.org>
parents:
14889
diff
changeset
|
57 $(SCRIPTS) $(SCRIPTS_GUI) $(NEW_TESTS_RES): $(SCRIPTS_FIRST) |
d94901eeb762
patch 8.1.0723: cannot easily run specific test when in src/testdir
Bram Moolenaar <Bram@vim.org>
parents:
14889
diff
changeset
|
58 |
d94901eeb762
patch 8.1.0723: cannot easily run specific test when in src/testdir
Bram Moolenaar <Bram@vim.org>
parents:
14889
diff
changeset
|
59 |
d94901eeb762
patch 8.1.0723: cannot easily run specific test when in src/testdir
Bram Moolenaar <Bram@vim.org>
parents:
14889
diff
changeset
|
60 # Execute an individual new style test, e.g.: |
d94901eeb762
patch 8.1.0723: cannot easily run specific test when in src/testdir
Bram Moolenaar <Bram@vim.org>
parents:
14889
diff
changeset
|
61 # make test_largefile |
d94901eeb762
patch 8.1.0723: cannot easily run specific test when in src/testdir
Bram Moolenaar <Bram@vim.org>
parents:
14889
diff
changeset
|
62 $(NEW_TESTS): |
d94901eeb762
patch 8.1.0723: cannot easily run specific test when in src/testdir
Bram Moolenaar <Bram@vim.org>
parents:
14889
diff
changeset
|
63 rm -f $@.res test.log messages |
d94901eeb762
patch 8.1.0723: cannot easily run specific test when in src/testdir
Bram Moolenaar <Bram@vim.org>
parents:
14889
diff
changeset
|
64 $(MAKE) -f Makefile $@.res |
d94901eeb762
patch 8.1.0723: cannot easily run specific test when in src/testdir
Bram Moolenaar <Bram@vim.org>
parents:
14889
diff
changeset
|
65 @if test -f test.log; then \ |
d94901eeb762
patch 8.1.0723: cannot easily run specific test when in src/testdir
Bram Moolenaar <Bram@vim.org>
parents:
14889
diff
changeset
|
66 cat test.log; \ |
d94901eeb762
patch 8.1.0723: cannot easily run specific test when in src/testdir
Bram Moolenaar <Bram@vim.org>
parents:
14889
diff
changeset
|
67 fi |
d94901eeb762
patch 8.1.0723: cannot easily run specific test when in src/testdir
Bram Moolenaar <Bram@vim.org>
parents:
14889
diff
changeset
|
68 cat messages |
7 | 69 |
3992 | 70 RM_ON_RUN = test.out X* viminfo |
14339
43b8795f1ddf
patch 8.1.0185: running tests writes lua.vim even though it is not used
Christian Brabandt <cb@256bit.org>
parents:
13634
diff
changeset
|
71 RM_ON_START = tiny.vim small.vim mbyte.vim mzscheme.vim test.ok benchmark.out |
10944
4e2cdce4576c
patch 8.0.0361: GUI initialisation is not sufficiently tested
Christian Brabandt <cb@256bit.org>
parents:
10765
diff
changeset
|
72 RUN_VIM = VIMRUNTIME=$(SCRIPTSOURCE); export VIMRUNTIME; $(VALGRIND) $(VIMPROG) -f $(GUI_FLAG) -u unix.vim $(NO_INITS) -s dotest.in |
3992 | 73 |
7 | 74 clean: |
11079
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
10944
diff
changeset
|
75 -rm -rf *.out *.failed *.res *.rej *.orig opt_test.vim test.log messages $(RM_ON_RUN) $(RM_ON_START) valgrind.* |
7 | 76 |
77 test1.out: test1.in | |
5363 | 78 -rm -rf $*.failed $(RM_ON_RUN) $(RM_ON_START) wrongtermsize |
14824
845180495796
patch 8.1.0424: test output is very verbose, loading CI log is slow
Christian Brabandt <cb@256bit.org>
parents:
14802
diff
changeset
|
79 $(RUN_VIM) $*.in $(REDIR_TEST_TO_NULL) |
5702 | 80 @/bin/sh -c "if test -f wrongtermsize; \ |
5363 | 81 then echo; \ |
82 echo test1 FAILED - terminal size must be 80x24 or larger; \ | |
83 echo; exit 1; \ | |
84 elif diff test.out $*.ok; \ | |
7 | 85 then mv -f test.out $*.out; \ |
86 else echo; \ | |
87 echo test1 FAILED - Something basic is wrong; \ | |
88 echo; exit 1; fi" | |
89 -rm -rf X* viminfo | |
90 | |
91 .in.out: | |
3992 | 92 -rm -rf $*.failed test.ok $(RM_ON_RUN) |
7 | 93 cp $*.ok test.ok |
4313 | 94 # Sleep a moment to avoid that the xterm title is messed up. |
95 # 200 msec is sufficient, but only modern sleep supports a fraction of | |
96 # a second, fall back to a second if it fails. | |
97 @-/bin/sh -c "sleep .2 > /dev/null 2>&1 || sleep 1" | |
14824
845180495796
patch 8.1.0424: test output is very verbose, loading CI log is slow
Christian Brabandt <cb@256bit.org>
parents:
14802
diff
changeset
|
98 $(RUN_VIM) $*.in $(REDIR_TEST_TO_NULL) |
3992 | 99 |
9719
219dbe63ad2a
commit https://github.com/vim/vim/commit/89eaa4185efacab253b23a182c1c8a7bbf1096c9
Christian Brabandt <cb@256bit.org>
parents:
9137
diff
changeset
|
100 # For flaky tests retry one time. No tests at the moment. |
219dbe63ad2a
commit https://github.com/vim/vim/commit/89eaa4185efacab253b23a182c1c8a7bbf1096c9
Christian Brabandt <cb@256bit.org>
parents:
9137
diff
changeset
|
101 #@/bin/sh -c "if test -f test.out -a $* = test61; then \ |
219dbe63ad2a
commit https://github.com/vim/vim/commit/89eaa4185efacab253b23a182c1c8a7bbf1096c9
Christian Brabandt <cb@256bit.org>
parents:
9137
diff
changeset
|
102 # if diff test.out $*.ok; \ |
219dbe63ad2a
commit https://github.com/vim/vim/commit/89eaa4185efacab253b23a182c1c8a7bbf1096c9
Christian Brabandt <cb@256bit.org>
parents:
9137
diff
changeset
|
103 # then echo flaky test ok first time; \ |
219dbe63ad2a
commit https://github.com/vim/vim/commit/89eaa4185efacab253b23a182c1c8a7bbf1096c9
Christian Brabandt <cb@256bit.org>
parents:
9137
diff
changeset
|
104 # else rm -rf $*.failed $(RM_ON_RUN); \ |
219dbe63ad2a
commit https://github.com/vim/vim/commit/89eaa4185efacab253b23a182c1c8a7bbf1096c9
Christian Brabandt <cb@256bit.org>
parents:
9137
diff
changeset
|
105 # $(RUN_VIM) $*.in; \ |
219dbe63ad2a
commit https://github.com/vim/vim/commit/89eaa4185efacab253b23a182c1c8a7bbf1096c9
Christian Brabandt <cb@256bit.org>
parents:
9137
diff
changeset
|
106 # fi \ |
219dbe63ad2a
commit https://github.com/vim/vim/commit/89eaa4185efacab253b23a182c1c8a7bbf1096c9
Christian Brabandt <cb@256bit.org>
parents:
9137
diff
changeset
|
107 # fi" |
3992 | 108 |
109 # Check if the test.out file matches test.ok. | |
4444 | 110 @/bin/sh -c "if test -f test.out; then \ |
169 | 111 if diff test.out $*.ok; \ |
112 then mv -f test.out $*.out; \ | |
113 else echo $* FAILED >>test.log; mv -f test.out $*.failed; \ | |
114 fi \ | |
115 else echo $* NO OUTPUT >>test.log; \ | |
7 | 116 fi" |
4444 | 117 @/bin/sh -c "if test -f valgrind; then\ |
118 mv -f valgrind valgrind.$*; \ | |
119 fi" | |
3855 | 120 -rm -rf X* test.ok viminfo |
7 | 121 |
6328 | 122 bench_re_freeze.out: bench_re_freeze.vim |
123 -rm -rf benchmark.out $(RM_ON_RUN) | |
124 # Sleep a moment to avoid that the xterm title is messed up. | |
125 # 200 msec is sufficient, but only modern sleep supports a fraction of | |
126 # a second, fall back to a second if it fails. | |
127 @-/bin/sh -c "sleep .2 > /dev/null 2>&1 || sleep 1" | |
14824
845180495796
patch 8.1.0424: test output is very verbose, loading CI log is slow
Christian Brabandt <cb@256bit.org>
parents:
14802
diff
changeset
|
128 $(RUN_VIM) $*.in $(REDIR_TEST_TO_NULL) |
6328 | 129 @/bin/sh -c "if test -f benchmark.out; then cat benchmark.out; fi" |
130 | |
7 | 131 nolog: |
7372
6b057079a836
commit https://github.com/vim/vim/commit/096c8bb40d51b22a4b1d761baf7bb79fb9e55a28
Christian Brabandt <cb@256bit.org>
parents:
7366
diff
changeset
|
132 -rm -f test.log messages |
7277
6600871bb38c
commit https://github.com/vim/vim/commit/43345546ae63710441f066648b8485fb545b3801
Christian Brabandt <cb@256bit.org>
parents:
7275
diff
changeset
|
133 |
6600871bb38c
commit https://github.com/vim/vim/commit/43345546ae63710441f066648b8485fb545b3801
Christian Brabandt <cb@256bit.org>
parents:
7275
diff
changeset
|
134 |
6600871bb38c
commit https://github.com/vim/vim/commit/43345546ae63710441f066648b8485fb545b3801
Christian Brabandt <cb@256bit.org>
parents:
7275
diff
changeset
|
135 # New style of tests uses Vim script with assert calls. These are easier |
6600871bb38c
commit https://github.com/vim/vim/commit/43345546ae63710441f066648b8485fb545b3801
Christian Brabandt <cb@256bit.org>
parents:
7275
diff
changeset
|
136 # to write and a lot easier to read and debug. |
6600871bb38c
commit https://github.com/vim/vim/commit/43345546ae63710441f066648b8485fb545b3801
Christian Brabandt <cb@256bit.org>
parents:
7275
diff
changeset
|
137 # Limitation: Only works with the +eval feature. |
10944
4e2cdce4576c
patch 8.0.0361: GUI initialisation is not sufficiently tested
Christian Brabandt <cb@256bit.org>
parents:
10765
diff
changeset
|
138 RUN_VIMTEST = VIMRUNTIME=$(SCRIPTSOURCE); export VIMRUNTIME; $(VALGRIND) $(VIMPROG) -f $(GUI_FLAG) -u unix.vim |
7277
6600871bb38c
commit https://github.com/vim/vim/commit/43345546ae63710441f066648b8485fb545b3801
Christian Brabandt <cb@256bit.org>
parents:
7275
diff
changeset
|
139 |
7506
cfc0d60f6233
commit https://github.com/vim/vim/commit/e7893a4088d6ea796bcab6195d232cb26c12c317
Christian Brabandt <cb@256bit.org>
parents:
7372
diff
changeset
|
140 newtests: newtestssilent |
14802
9b04068f7265
patch 8.1.0413: test output is duplicated or missing
Christian Brabandt <cb@256bit.org>
parents:
14339
diff
changeset
|
141 @/bin/sh -c "if test -f messages && grep -q 'SKIPPED\|FAILED' messages; then cat messages; fi" |
7506
cfc0d60f6233
commit https://github.com/vim/vim/commit/e7893a4088d6ea796bcab6195d232cb26c12c317
Christian Brabandt <cb@256bit.org>
parents:
7372
diff
changeset
|
142 |
15430
d94901eeb762
patch 8.1.0723: cannot easily run specific test when in src/testdir
Bram Moolenaar <Bram@vim.org>
parents:
14889
diff
changeset
|
143 newtestssilent: $(NEW_TESTS_RES) |
7506
cfc0d60f6233
commit https://github.com/vim/vim/commit/e7893a4088d6ea796bcab6195d232cb26c12c317
Christian Brabandt <cb@256bit.org>
parents:
7372
diff
changeset
|
144 |
7277
6600871bb38c
commit https://github.com/vim/vim/commit/43345546ae63710441f066648b8485fb545b3801
Christian Brabandt <cb@256bit.org>
parents:
7275
diff
changeset
|
145 |
12602
9359ed49d375
patch 8.0.1179: Test_popup_and_window_resize() does not always pass
Christian Brabandt <cb@256bit.org>
parents:
11119
diff
changeset
|
146 .vim.res: writevimcmd |
9359ed49d375
patch 8.0.1179: Test_popup_and_window_resize() does not always pass
Christian Brabandt <cb@256bit.org>
parents:
11119
diff
changeset
|
147 @echo "$(VIMPROG)" > vimcmd |
9359ed49d375
patch 8.0.1179: Test_popup_and_window_resize() does not always pass
Christian Brabandt <cb@256bit.org>
parents:
11119
diff
changeset
|
148 @echo "$(RUN_VIMTEST)" >> vimcmd |
14824
845180495796
patch 8.1.0424: test output is very verbose, loading CI log is slow
Christian Brabandt <cb@256bit.org>
parents:
14802
diff
changeset
|
149 $(RUN_VIMTEST) $(NO_INITS) -S runtest.vim $*.vim $(REDIR_TEST_TO_NULL) |
9778
4360b2b46125
commit https://github.com/vim/vim/commit/66459b7c98c67f8a9d39de8f08e8e8f1fca0e359
Christian Brabandt <cb@256bit.org>
parents:
9719
diff
changeset
|
150 @rm vimcmd |
10944
4e2cdce4576c
patch 8.0.0361: GUI initialisation is not sufficiently tested
Christian Brabandt <cb@256bit.org>
parents:
10765
diff
changeset
|
151 |
4e2cdce4576c
patch 8.0.0361: GUI initialisation is not sufficiently tested
Christian Brabandt <cb@256bit.org>
parents:
10765
diff
changeset
|
152 test_gui.res: test_gui.vim |
12602
9359ed49d375
patch 8.0.1179: Test_popup_and_window_resize() does not always pass
Christian Brabandt <cb@256bit.org>
parents:
11119
diff
changeset
|
153 @echo "$(VIMPROG)" > vimcmd |
9359ed49d375
patch 8.0.1179: Test_popup_and_window_resize() does not always pass
Christian Brabandt <cb@256bit.org>
parents:
11119
diff
changeset
|
154 @echo "$(RUN_GVIMTEST)" >> vimcmd |
10944
4e2cdce4576c
patch 8.0.0361: GUI initialisation is not sufficiently tested
Christian Brabandt <cb@256bit.org>
parents:
10765
diff
changeset
|
155 $(RUN_VIMTEST) -u NONE $(NO_INITS) -S runtest.vim $< |
4e2cdce4576c
patch 8.0.0361: GUI initialisation is not sufficiently tested
Christian Brabandt <cb@256bit.org>
parents:
10765
diff
changeset
|
156 @rm vimcmd |
4e2cdce4576c
patch 8.0.0361: GUI initialisation is not sufficiently tested
Christian Brabandt <cb@256bit.org>
parents:
10765
diff
changeset
|
157 |
4e2cdce4576c
patch 8.0.0361: GUI initialisation is not sufficiently tested
Christian Brabandt <cb@256bit.org>
parents:
10765
diff
changeset
|
158 test_gui_init.res: test_gui_init.vim |
12602
9359ed49d375
patch 8.0.1179: Test_popup_and_window_resize() does not always pass
Christian Brabandt <cb@256bit.org>
parents:
11119
diff
changeset
|
159 @echo "$(VIMPROG)" > vimcmd |
9359ed49d375
patch 8.0.1179: Test_popup_and_window_resize() does not always pass
Christian Brabandt <cb@256bit.org>
parents:
11119
diff
changeset
|
160 @echo "$(RUN_GVIMTEST_WITH_GVIMRC)" >> vimcmd |
11119
d8a550329a97
patch 8.0.0447: getting font name does not work on X11
Christian Brabandt <cb@256bit.org>
parents:
11083
diff
changeset
|
161 $(RUN_VIMTEST) -u gui_preinit.vim -U gui_init.vim $(NO_PLUGINS) -S runtest.vim $< |
10944
4e2cdce4576c
patch 8.0.0361: GUI initialisation is not sufficiently tested
Christian Brabandt <cb@256bit.org>
parents:
10765
diff
changeset
|
162 @rm vimcmd |
11079
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
10944
diff
changeset
|
163 |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
10944
diff
changeset
|
164 opt_test.vim: ../option.c gen_opt_test.vim |
11083
ae86651164d7
patch 8.0.0430: options test fails or hangs on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
11081
diff
changeset
|
165 $(VIMPROG) -u NONE -S gen_opt_test.vim --noplugin --not-a-term ../option.c |
13634
2678e38e1de6
patch 8.0.1689: no tests for xxd
Christian Brabandt <cb@256bit.org>
parents:
12662
diff
changeset
|
166 |
2678e38e1de6
patch 8.0.1689: no tests for xxd
Christian Brabandt <cb@256bit.org>
parents:
12662
diff
changeset
|
167 test_xxd.res: |
2678e38e1de6
patch 8.0.1689: no tests for xxd
Christian Brabandt <cb@256bit.org>
parents:
12662
diff
changeset
|
168 XXD=$(XXDPROG); export XXD; $(RUN_VIMTEST) $(NO_INITS) -S runtest.vim test_xxd.vim |