patch 8.1.0496: no tests for indent files

Problem:    No tests for indent files.
Solution:   Add a mechanism for running indent file tests.  Add a first test
            for Vim indenting.
This commit is contained in:
Bram Moolenaar
2018-10-25 16:53:19 +02:00
parent f86db78fed
commit c0fe4978f2
9 changed files with 329 additions and 0 deletions

13
runtime/indent/Makefile Normal file
View File

@ -0,0 +1,13 @@
# Portable Makefile for running indent tests.
VIM = vim
# Run the tests that didn't run yet or failed previously.
# If a test succeeds a testdir/*.out file will be written.
# If a test fails a testdir/*.fail file will be written.
test:
$(VIM) --not-a-term -u testdir/runtest.vim
clean:
$(VIM) --not-a-term -u testdir/cleantest.vim