2018-10-25 16:53:19 +02:00
|
|
|
# Portable Makefile for running indent tests.
|
|
|
|
|
2024-03-16 15:08:53 +01:00
|
|
|
.SUFFIXES:
|
|
|
|
.PHONY: test clean testclean
|
|
|
|
|
2024-07-04 17:47:16 +02:00
|
|
|
VIMPROG = vim
|
2018-12-10 21:36:56 +01:00
|
|
|
VIMRUNTIME = ..
|
2018-10-25 16:53:19 +02:00
|
|
|
|
|
|
|
# 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:
|
2024-07-04 17:47:16 +02:00
|
|
|
VIMRUNTIME=$(VIMRUNTIME) $(VIMPROG) --clean --not-a-term -u testdir/runtest.vim
|
2024-10-29 20:21:42 +01:00
|
|
|
@echo "INDENT TESTS: DONE"
|
2018-10-25 16:53:19 +02:00
|
|
|
|
|
|
|
|
2020-07-10 22:00:53 +02:00
|
|
|
clean testclean:
|
2019-04-27 17:57:31 +02:00
|
|
|
rm -f testdir/*.fail testdir/*.out
|