mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 12:45:17 -07:00
vim-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 vim/vim#4307)
e13a3901ca
This commit is contained in:
parent
10c050caf9
commit
48b2d21d5e
1
Makefile
1
Makefile
@ -158,6 +158,7 @@ clean:
|
||||
+test -d build && $(BUILD_CMD) -C build clean || true
|
||||
$(MAKE) -C src/nvim/testdir clean
|
||||
$(MAKE) -C runtime/doc clean
|
||||
$(MAKE) -C runtime/indent clean
|
||||
|
||||
distclean:
|
||||
rm -rf $(DEPS_BUILD_DIR) build
|
||||
|
@ -11,4 +11,4 @@ test:
|
||||
|
||||
|
||||
clean:
|
||||
VIMRUNTIME=$(VIMRUNTIME) $(VIM) --clean --not-a-term -u testdir/cleantest.vim
|
||||
rm -f testdir/*.fail testdir/*.out
|
||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user