blob: 36a3f156e3c6e6bfaf76c993abd6dcf5dd30d3dd [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
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