comparison src/testdir/README.txt @ 28542:51b5cab35afa v8.2.4795

patch 8.2.4795: 'cursorbind' scrolling depends on whether 'cursorline' is set Commit: https://github.com/vim/vim/commit/2c645e8b00641f504072f35e061b7392ed41f491 Author: Christian Brabandt <cb@256bit.org> Date: Wed Apr 20 14:52:01 2022 +0100 patch 8.2.4795: 'cursorbind' scrolling depends on whether 'cursorline' is set Problem: 'cursorbind' scrolling depends on whether 'cursorline' is set. Solution: Always call validate_cursor(). (Christian Brabandt, closes https://github.com/vim/vim/issues/10230, closes #10014)
author Bram Moolenaar <Bram@vim.org>
date Wed, 20 Apr 2022 16:00:04 +0200
parents 5825405e4e2c
children ba9d53c7c509
comparison
equal deleted inserted replaced
28541:cf8a9a334edd 28542:51b5cab35afa
39 39
40 - If the bug that is being tested isn't fixed yet, you can throw an exception 40 - If the bug that is being tested isn't fixed yet, you can throw an exception
41 with "Skipped" so that it's clear this still needs work. E.g.: throw 41 with "Skipped" so that it's clear this still needs work. E.g.: throw
42 "Skipped: Bug with <c-e> and popupmenu not fixed yet" 42 "Skipped: Bug with <c-e> and popupmenu not fixed yet"
43 43
44 - The following environment variables are recognized and can be set to
45 influence the behavior of the test suite (see runtest.vim for details)
46
47 - $TEST_MAY_FAIL=Test_channel_one - ignore those failing tests
48 - $TEST_FILTER=Test_channel - only run test that match this pattern
49 - $TEST_SKIP_PAT=Test_channel - skip tests that match this pattern
50 - $TEST_NO_RETRY=yes - do not try to re-run failing tests
51 You can also set them in Vim:
52 :let $TEST_MAY_FAIL = 'Test_channel_one'
53 :let $TEST_FILTER = '_set_mode'
54 :let $TEST_SKIP_PAT = 'Test_loop_forever'
55 :let $TEST_NO_RETRY = 'yes'
56 Use an empty string to revert, e.g.:
57 :let $TEST_FILTER = ''
58
44 - See the start of runtest.vim for more help. 59 - See the start of runtest.vim for more help.
45 60
46 61
47 TO ADD A SCREEN DUMP TEST: 62 TO ADD A SCREEN DUMP TEST:
48 63
74 89
75 The file 'messages' contains the messages generated by the test script. If a 90 The file 'messages' contains the messages generated by the test script. If a
76 test fails, then the test.log file contains the error messages. If all the 91 test fails, then the test.log file contains the error messages. If all the
77 tests are successful, then this file will be an empty file. 92 tests are successful, then this file will be an empty file.
78 93
79 To run a single test function from a test script: 94 - To run a single test function from a test script:
80 95
81 $ ../vim -u NONE -S runtest.vim <test_file>.vim <function_name> 96 $ ../vim -u NONE -S runtest.vim <test_file>.vim <function_name>
82 97
83 To run all the tests: 98 - To execute only specific test functions, add a second argument:
99
100 $ ../vim -u NONE -S runtest.vim test_channel.vim open_delay
101
102
103 - To run all the tests:
84 104
85 $ make 105 $ make
86 106
87 To run the test on MS-Windows using the MSVC nmake: 107 - To run the test on MS-Windows using the MSVC nmake:
88 108
89 > nmake -f Make_dos.mak 109 > nmake -f Make_dos.mak
90 110
91 To run the tests with GUI Vim: 111 - To run the tests with GUI Vim:
92 112
93 $ make GUI_FLAG=-g 113 $ make GUI_FLAG=-g
94 114
95 or 115 or
96 116
97 $ make VIMPROG=../gvim 117 $ make VIMPROG=../gvim
98 118
99 To cleanup the temporary files after running the tests: 119 - To cleanup the temporary files after running the tests:
100 120
101 $ make clean 121 $ make clean
102