blob: 2af1276ab38a139afbd4ad2b44e9747a1befe722 [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
RestorerZcd33faf2024-07-04 17:47:16 +02006VIMPROG = 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:
RestorerZcd33faf2024-07-04 17:47:16 +020013 VIMRUNTIME=$(VIMRUNTIME) $(VIMPROG) --clean --not-a-term -u testdir/runtest.vim
Christian Brabandt203c7222024-10-29 20:21:42 +010014 @echo "INDENT TESTS: DONE"
Bram Moolenaarc0fe4972018-10-25 16:53:19 +020015
16
Bram Moolenaar7ff78462020-07-10 22:00:53 +020017clean testclean:
Bram Moolenaare13a3902019-04-27 17:57:31 +020018 rm -f testdir/*.fail testdir/*.out