blob: 66ded80928a30b0fffd043e3a2f844c161cfe183 [file] [log] [blame]
Bram Moolenaarc0fe4972018-10-25 16:53:19 +02001# Portable Makefile for running indent tests.
2
RestorerZ8291e912024-03-16 15:08:53 +01003.SUFFIXES:
4.PHONY: test clean testclean
5
Bram Moolenaarc0fe4972018-10-25 16:53:19 +02006VIM = vim
Bram Moolenaar30700cd2018-12-10 21:36:56 +01007VIMRUNTIME = ..
Bram Moolenaarc0fe4972018-10-25 16:53:19 +02008
9# Run the tests that didn't run yet or failed previously.
10# If a test succeeds a testdir/*.out file will be written.
11# If a test fails a testdir/*.fail file will be written.
12test:
Bram Moolenaar30700cd2018-12-10 21:36:56 +010013 VIMRUNTIME=$(VIMRUNTIME) $(VIM) --clean --not-a-term -u testdir/runtest.vim
Bram Moolenaarc0fe4972018-10-25 16:53:19 +020014
15
Bram Moolenaar7ff78462020-07-10 22:00:53 +020016clean testclean:
Bram Moolenaare13a3902019-04-27 17:57:31 +020017 rm -f testdir/*.fail testdir/*.out