annotate src/testdir/main.aap @ 12170:1345621ecdfb v8.0.0965

patch 8.0.0965: not restoring cursor shape after it was set in a terminal commit https://github.com/vim/vim/commit/3eee06e7d4c3a8e2dbb2577a1eef0e0f108e0288 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Aug 19 19:40:50 2017 +0200 patch 8.0.0965: not restoring cursor shape after it was set in a terminal Problem: The cursor shape is not reset after it was changed in a terminal. Solution: Request the original cursor shape and restore it. Add t_RS. Do not add t_SH for now, it does not work properly.
author Christian Brabandt <cb@256bit.org>
date Sat, 19 Aug 2017 19:45:04 +0200
parents 0240e7e3d736
children 44aa2997239d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 VimProg ?= ../vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 Scripts = test1.out test2.out test3.out test4.out test5.out test6.out
11961
0240e7e3d736 patch 8.0.0861: still many old style tests
Christian Brabandt <cb@256bit.org>
parents: 11651
diff changeset
8 test7.out test8.out test11.out
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 test12.out test13.out test14.out test15.out test17.out
11961
0240e7e3d736 patch 8.0.0861: still many old style tests
Christian Brabandt <cb@256bit.org>
parents: 11651
diff changeset
10 test18.out test19.out test20.out test21.out
11651
140d51d5b5c3 patch 8.0.0708: some tests are old style
Christian Brabandt <cb@256bit.org>
parents: 9361
diff changeset
11 test25.out test27.out
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 test38.out test39.out test40.out test41.out test42.out
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 test43.out test44.out test45.out test46.out test47.out
2607
2f57d93bdbf6 updated for version 7.3.030
Bram Moolenaar <bram@vim.org>
parents: 2440
diff changeset
16 test48.out test49.out test74.out
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 ScriptsGUI = test16.out
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 # Build "nongui" when no target was specified.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 nongui: newlog $Scripts
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 :print
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 :cat test.log
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 :print ALL DONE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 # Build "ngui" when specified.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 gui: newlog $Scripts $ScriptsGUI
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 :print
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 :cat test.log
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 :print ALL DONE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 $Scripts $ScriptsGUI: $VimProg
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 clean:
2050
afcf9db31561 updated for version 7.2.336
Bram Moolenaar <bram@zimbu.org>
parents: 7
diff changeset
35 :del {r}{force} *.out test.log tiny.vim small.vim mbyte.vim mzscheme.vim test.ok X*
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 # test1 is special, it checks for features
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 test1.out: test1.in
2050
afcf9db31561 updated for version 7.2.336
Bram Moolenaar <bram@zimbu.org>
parents: 7
diff changeset
39 :del {force} test1.failed tiny.vim small.vim mbyte.vim mzscheme.vim
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 :sys {i} $VimProg -u unix.vim -U NONE --noplugin -s dotest.in test1.in
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 @if os.system("diff test.out test1.ok") != 0:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 :error test1 FAILED - Something basic is wrong
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 :move {force} test.out test1.out
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 :del {r}{force} X*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 :rule %.out : %.in
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 :del {force} $(match).failed test.ok
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 :copy $(match).ok test.ok
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 :sys {i} $VimProg -u unix.vim -U NONE --noplugin -s dotest.in $(match).in
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 @if os.system("diff test.out " + match + ".ok") != 0:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 :print $match FAILED >>test.log
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 :move {force} test.out $(match).failed
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 @else:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 :move {force} test.out $(match).out
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 :del {r}{force} X* test.ok
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 newlog:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 :print Test results: >! test.log