aboutsummaryrefslogtreecommitdiff
path: root/runtime/indent/Makefile
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2019-09-19 00:12:45 +0200
committerGitHub <noreply@github.com>2019-09-19 00:12:45 +0200
commitafd576ee9494a76de834f3ea2e1de631c56eb8a3 (patch)
tree090ca0d2ba8904f2a6a698af0d75bcf3b1a2bdb7 /runtime/indent/Makefile
parent1070c092c7bf989f261047b861165e61e94c1941 (diff)
parent660b452440d60725f0cd68f264ba10b6add068c8 (diff)
downloadrneovim-afd576ee9494a76de834f3ea2e1de631c56eb8a3.tar.gz
rneovim-afd576ee9494a76de834f3ea2e1de631c56eb8a3.tar.bz2
rneovim-afd576ee9494a76de834f3ea2e1de631c56eb8a3.zip
Merge pull request #11057 from blueyed/test-indent
Vim patches for indent tests
Diffstat (limited to 'runtime/indent/Makefile')
-rw-r--r--runtime/indent/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/runtime/indent/Makefile b/runtime/indent/Makefile
new file mode 100644
index 0000000000..d192605527
--- /dev/null
+++ b/runtime/indent/Makefile
@@ -0,0 +1,14 @@
+# Portable Makefile for running indent tests.
+
+VIM = vim
+VIMRUNTIME = ..
+
+# 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:
+ VIMRUNTIME=$(VIMRUNTIME) $(VIM) --clean --not-a-term -u testdir/runtest.vim
+
+
+clean:
+ rm -f testdir/*.fail testdir/*.out