diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-12-15 17:23:18 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-12-15 17:23:18 +0100 |
commit | 72846cfa76fb7e566c49282410163ed0840c91db (patch) | |
tree | 9c8bbe697fadab328d38b5f8c07a11ce529465bd | |
parent | acecb3b9359dced16b471b9950594394183c503a (diff) | |
download | vim-git-72846cfa76fb7e566c49282410163ed0840c91db.tar.gz |
patch 8.1.0598: indent tests may use the wrong Vim binaryv8.1.0598
Problem: Indent tests may use the wrong Vim binary.
Solution: Pass in the just built Vim binary.
-rw-r--r-- | Makefile | 14 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 13 insertions, 3 deletions
@@ -39,10 +39,18 @@ all install uninstall tools config configure reconfig proto depend lint tags typ @echo "Starting make in the src directory." @echo "If there are problems, cd to the src directory and run make there" cd src && $(MAKE) $@ + # When the target is "test" also run the indent tests. + @if test "$@" = "test"; then \ + $(MAKE) indenttest; \ + fi + +# Executable used for running the indent tests. +VIM_FOR_INDENTTEST = ../../src/vim -test: all - cd src && $(MAKE) test - cd runtime/indent && $(MAKE) clean && $(MAKE) test +indenttest: + cd runtime/indent && \ + $(MAKE) clean VIM="$(VIM_FOR_INDENTTEST)" && \ + $(MAKE) test VIM="$(VIM_FOR_INDENTTEST)" ######################################################################### diff --git a/src/version.c b/src/version.c index a85295a6c..7e8b34efe 100644 --- a/src/version.c +++ b/src/version.c @@ -800,6 +800,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 598, +/**/ 597, /**/ 596, |