3ef2ca
To: vim_dev@googlegroups.com
3ef2ca
Subject: Patch 7.4.420
3ef2ca
Fcc: outbox
3ef2ca
From: Bram Moolenaar <Bram@moolenaar.net>
3ef2ca
Mime-Version: 1.0
3ef2ca
Content-Type: text/plain; charset=UTF-8
3ef2ca
Content-Transfer-Encoding: 8bit
3ef2ca
------------
3ef2ca
3ef2ca
Patch 7.4.420
3ef2ca
Problem:    It's not obvious how to add a new test.
3ef2ca
Solution:   Add a README file. (Christian Brabandt)
3ef2ca
Files:	    src/testdir/README.txt
3ef2ca
3ef2ca
3ef2ca
*** ../vim-7.4.419/src/testdir/README.txt	2014-08-29 10:04:24.754407374 +0200
3ef2ca
--- src/testdir/README.txt	2014-08-29 10:01:08.294406945 +0200
3ef2ca
***************
3ef2ca
*** 0 ****
3ef2ca
--- 1,18 ----
3ef2ca
+ This directory contains tests for various Vim features.
3ef2ca
+ 
3ef2ca
+ If it makes sense, try to add a new test to an already existing file.  You may
3ef2ca
+ want to separate it from other tests in that file using :" (that's an Ex
3ef2ca
+ command comment).
3ef2ca
+ 
3ef2ca
+ The numbered tests are older, we have switched to named tests.
3ef2ca
+ 
3ef2ca
+ To add a new test:
3ef2ca
+ 1) Create test_<subject>.in and test_<subject>.ok files.
3ef2ca
+ 2) Add them to all Makefiles (Make*) in alphabetical order (search for an
3ef2ca
+    existing test_file.out to see where to add the new one).
3ef2ca
+ 3) Use make test_<subject>.out to run a single test file in src/testdir/.
3ef2ca
+ 4) Also add an entry in src/Makefile.
3ef2ca
+ 
3ef2ca
+ Keep in mind that the files are used as if everything was typed.
3ef2ca
+ A line break is like pressing Enter.  If that happens on the last line you'll
3ef2ca
+ hear a beep.
3ef2ca
*** ../vim-7.4.419/src/version.c	2014-08-29 09:46:04.266404970 +0200
3ef2ca
--- src/version.c	2014-08-29 10:01:21.242406973 +0200
3ef2ca
***************
3ef2ca
*** 743,744 ****
3ef2ca
--- 743,746 ----
3ef2ca
  {   /* Add new patch number below this line */
3ef2ca
+ /**/
3ef2ca
+     420,
3ef2ca
  /**/
3ef2ca
3ef2ca
-- 
3ef2ca
hundred-and-one symptoms of being an internet addict:
3ef2ca
91. It's Saturday afternoon in the middle of May and you
3ef2ca
    are on computer.
3ef2ca
3ef2ca
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
3ef2ca
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
3ef2ca
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
3ef2ca
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///