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