diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-04-27 17:57:31 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-04-27 17:57:31 +0200 |
commit | e13a3901cae0afb4d2af30d497696af08029fd81 (patch) | |
tree | b65c945ba6a7e8b831ed1a191a75a678f396b6fc /runtime | |
parent | 520e245237fa92f9022968a52eb418da6eade9b4 (diff) | |
download | vim-git-e13a3901cae0afb4d2af30d497696af08029fd81.tar.gz |
patch 8.1.1213: "make clean" in top dir does not cleanup indent test outputv8.1.1213
Problem: "make clean" in top dir does not cleanup indent test output.
Solution: Clean the indent test output. Do not rely on the vim executable
for that. (closes #4307)
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/indent/Makefile | 2 | ||||
-rw-r--r-- | runtime/indent/testdir/cleantest.vim | 11 |
2 files changed, 1 insertions, 12 deletions
diff --git a/runtime/indent/Makefile b/runtime/indent/Makefile index 1917e46c6..d19260552 100644 --- a/runtime/indent/Makefile +++ b/runtime/indent/Makefile @@ -11,4 +11,4 @@ test: clean: - VIMRUNTIME=$(VIMRUNTIME) $(VIM) --clean --not-a-term -u testdir/cleantest.vim + rm -f testdir/*.fail testdir/*.out diff --git a/runtime/indent/testdir/cleantest.vim b/runtime/indent/testdir/cleantest.vim deleted file mode 100644 index 69c0a1d4b..000000000 --- a/runtime/indent/testdir/cleantest.vim +++ /dev/null @@ -1,11 +0,0 @@ -" Only do this with the +eval feature -if 1 - - " Deletes all the test output files: *.fail and *.out - for fname in glob('testdir/*.out', 1, 1) + glob('testdir/*.fail', 1, 1) - call delete(fname) - endfor - -endif - -quit |