summaryrefslogtreecommitdiffstats
path: root/src/testdir/README.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-01-11 17:30:16 +0100
committerBram Moolenaar <Bram@vim.org>2019-01-11 17:30:16 +0100
commitec50401e1e1357a1340b3c92109fd4860e38a8ac (patch)
tree4e2437694f097dc4c34a88f10d3ae5701c048d15 /src/testdir/README.txt
parent977239ef52763b6e640ac632c53a57ee17e05eaa (diff)
patch 8.1.0723: cannot easily run specific test when in src/testdirv8.1.0723
Problem: Cannot run specific test when in src/testdir the same was as in the src directory. Solution: Move build rule to src/testdir/Makefile.
Diffstat (limited to 'src/testdir/README.txt')
-rw-r--r--src/testdir/README.txt9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/testdir/README.txt b/src/testdir/README.txt
index b3200a40cd..f4486e302b 100644
--- a/src/testdir/README.txt
+++ b/src/testdir/README.txt
@@ -1,4 +1,5 @@
This directory contains tests for various Vim features.
+For testing an indent script see runtime/indent/testdir/README.txt.
If it makes sense, add a new test method to an already existing file. You may
want to separate it from other tests with comment lines.
@@ -14,10 +15,10 @@ can. Use an old style test when it needs to run without the +eval feature.
TO ADD A NEW STYLE TEST:
1) Create a test_<subject>.vim file.
-2) Add test_<subject>.res to NEW_TESTS in Make_all.mak in alphabetical order.
-3) Also add an entry "test_<subject>" in src/Make_all.mak.
-4) Use make test_<subject>.res to run a single test in src/testdir/.
- Use make test_<subject> to run a single test in src/.
+2) Add test_<subject>.res to NEW_TESTS_RES in Make_all.mak in alphabetical
+ order.
+3) Also add an entry "test_<subject>" to NEW_TESTS in Make_all.mak.
+4) Use make test_<subject> to run a single test.
At 2), instead of running the test separately, it can be included in
"test_alot". Do this for quick tests without side effects. The test runs a