summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2014-08-29 10:04:47 +0200
committerBram Moolenaar <Bram@vim.org>2014-08-29 10:04:47 +0200
commita9537d238e8c2fe9afb9bbf4e137734372b7d9ba (patch)
treeab2e0b7e9ef59376d0fc935f1bceaaafdc893950 /src
parentf2d912e8bc64927f9089e5da9185b9f108d28c0d (diff)
downloadvim-a9537d238e8c2fe9afb9bbf4e137734372b7d9ba.zip
updated for version 7.4.420
Problem: It's not obvious how to add a new test. Solution: Add a README file. (Christian Brabandt)
Diffstat (limited to 'src')
-rw-r--r--src/testdir/README.txt18
-rw-r--r--src/version.c2
2 files changed, 20 insertions, 0 deletions
diff --git a/src/testdir/README.txt b/src/testdir/README.txt
new file mode 100644
index 000000000..d42c7c9bc
--- /dev/null
+++ b/src/testdir/README.txt
@@ -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.
diff --git a/src/version.c b/src/version.c
index d2ea61340..a34bef22b 100644
--- a/src/version.c
+++ b/src/version.c
@@ -742,6 +742,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 420,
+/**/
419,
/**/
418,