patch 8.1.1213: "make clean" in top dir does not cleanup indent test output

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)
This commit is contained in:
Bram Moolenaar
2019-04-27 17:57:31 +02:00
parent 520e245237
commit e13a3901ca
4 changed files with 9 additions and 13 deletions

View File

@ -11,4 +11,4 @@ test:
clean:
VIMRUNTIME=$(VIMRUNTIME) $(VIM) --clean --not-a-term -u testdir/cleantest.vim
rm -f testdir/*.fail testdir/*.out

View File

@ -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