mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.1.0598: indent tests may use the wrong Vim binary
Problem: Indent tests may use the wrong Vim binary. Solution: Pass in the just built Vim binary.
This commit is contained in:
parent
acecb3b935
commit
72846cfa76
14
Makefile
14
Makefile
@ -39,10 +39,18 @@ all install uninstall tools config configure reconfig proto depend lint tags typ
|
|||||||
@echo "Starting make in the src directory."
|
@echo "Starting make in the src directory."
|
||||||
@echo "If there are problems, cd to the src directory and run make there"
|
@echo "If there are problems, cd to the src directory and run make there"
|
||||||
cd src && $(MAKE) $@
|
cd src && $(MAKE) $@
|
||||||
|
# When the target is "test" also run the indent tests.
|
||||||
|
@if test "$@" = "test"; then \
|
||||||
|
$(MAKE) indenttest; \
|
||||||
|
fi
|
||||||
|
|
||||||
test: all
|
# Executable used for running the indent tests.
|
||||||
cd src && $(MAKE) test
|
VIM_FOR_INDENTTEST = ../../src/vim
|
||||||
cd runtime/indent && $(MAKE) clean && $(MAKE) test
|
|
||||||
|
indenttest:
|
||||||
|
cd runtime/indent && \
|
||||||
|
$(MAKE) clean VIM="$(VIM_FOR_INDENTTEST)" && \
|
||||||
|
$(MAKE) test VIM="$(VIM_FOR_INDENTTEST)"
|
||||||
|
|
||||||
|
|
||||||
#########################################################################
|
#########################################################################
|
||||||
|
@ -799,6 +799,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
598,
|
||||||
/**/
|
/**/
|
||||||
597,
|
597,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user