@@ -32,9 +32,13 @@ See `runtime/doc/develop.txt` for the high level design goals.
3232 make proto
3333
3434 # Run a single test file:
35- cd src/testdir && make test_name.res
35+ cd src/testdir && make test_name
3636
37- Output is in testdir/messages and testdir/test.log
37+ Output is in testdir/messages and testdir/test.log. Don't use
38+ ` make test_name.res ` : it does not re-run the test while the ` .res ` file
39+ from an earlier passing run is newer than the test file and the Vim
40+ binary (e.g. after changing ` TEST_FILTER ` or a runtime file), and it
41+ appends to old output.
3842
3943Builds on Windows depend on the Environment, see ` src/INSTALLpc.txt `
4044for Cygwin/MSYS and MSVC ways to build Vim
@@ -57,7 +61,7 @@ types, script reloading or error paths should be checked for memory errors
5761 ` valgrind -q ` ), leaks are not reported in detail:
5862
5963 cd src/testdir
60- make test_name.res VALGRIND="valgrind --tool=memcheck \
64+ make test_name VALGRIND="valgrind --tool=memcheck \
6165 --leak-check=full --errors-for-leak-kinds=definite \
6266 --num-callers=45 --log-file=valgrind.test_name"
6367
@@ -234,7 +238,8 @@ Further rules, not spelled out here, live in `runtime/doc/develop.txt`:
234238
235239## Test conventions
236240
237- - Tests are in ` src/testdir/test_*.vim ` .
241+ - Tests are in ` src/testdir/test_*.vim ` . See ` src/testdir/AGENTS.md ` for
242+ detailed conventions for writing them.
238243- Reproducible tests beat "it doesn't crash" tests. If a patch fixes
239244 a rendering bug, add a screendump test. If it fixes incorrect output,
240245 assert the output.
@@ -274,6 +279,10 @@ Further rules, not spelled out here, live in `runtime/doc/develop.txt`:
274279 update in the same patch.
275280- When editing an existing help file, bump the ` Last change: ` header
276281 at the top.
282+ - After adding, renaming or removing a ` *tag* ` in a help file, regenerate
283+ ` runtime/doc/tags ` with ` make vimtags ` (or ` make tags ` without a built
284+ Vim) from ` runtime/doc ` ; do not edit ` tags ` by hand. CI fails when
285+ ` tags ` differs from the generated file.
277286
278287### Help file style
279288
0 commit comments