]> granicus.if.org Git - vim/commitdiff
updated for version 7.4.420 v7.4.420
authorBram Moolenaar <Bram@vim.org>
Fri, 29 Aug 2014 08:04:47 +0000 (10:04 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 29 Aug 2014 08:04:47 +0000 (10:04 +0200)
Problem:    It's not obvious how to add a new test.
Solution:   Add a README file. (Christian Brabandt)

src/testdir/README.txt [new file with mode: 0644]
src/version.c

diff --git a/src/testdir/README.txt b/src/testdir/README.txt
new file mode 100644 (file)
index 0000000..d42c7c9
--- /dev/null
@@ -0,0 +1,18 @@
+This directory contains tests for various Vim features.
+
+If it makes sense, try to add a new test to an already existing file.  You may
+want to separate it from other tests in that file using :" (that's an Ex
+command comment).
+
+The numbered tests are older, we have switched to named tests.
+
+To add a new test:
+1) Create test_<subject>.in and test_<subject>.ok files.
+2) Add them to all Makefiles (Make*) in alphabetical order (search for an
+   existing test_file.out to see where to add the new one).
+3) Use make test_<subject>.out to run a single test file in src/testdir/.
+4) Also add an entry in src/Makefile.
+
+Keep in mind that the files are used as if everything was typed.
+A line break is like pressing Enter.  If that happens on the last line you'll
+hear a beep.
index d2ea613407f25c0541a2c146ab54eb5be2a0087d..a34bef22b269d951d42fb67135f978eb75fb2b56 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    420,
 /**/
     419,
 /**/