view src/testdir/README.txt @ 7382:58958b8c9881 v7.4.996

commit https://github.com/vim/vim/commit/e292d80bede5cb0b9b1ca95176ad6c3fbaae2e0a Author: Bram Moolenaar <Bram@vim.org> Date: Tue Dec 29 19:03:21 2015 +0100 patch 7.4.996 Problem: New GDK files and testdir/Make_all.mak missing from distribution. PC build instructions are outdated. Solution: Add the file to the list. Update PC build instructions.
author Christian Brabandt <cb@256bit.org>
date Tue, 29 Dec 2015 19:15:05 +0100
parents 93aa03401309
children dbfa0f9ab289
line wrap: on
line source

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.