comparison Makefile @ 15176:ea6f7b224be7 v8.1.0598

patch 8.1.0598: indent tests may use the wrong Vim binary commit https://github.com/vim/vim/commit/72846cfa76fb7e566c49282410163ed0840c91db Author: Bram Moolenaar <Bram@vim.org> Date: Sat Dec 15 17:23:18 2018 +0100 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.
author Bram Moolenaar <Bram@vim.org>
date Sat, 15 Dec 2018 17:30:04 +0100
parents 963c1967f917
children fada746a971b
comparison
equal deleted inserted replaced
15175:58e8f4306a6d 15176:ea6f7b224be7
37 cp src/config.mk.dist src/auto/config.mk; \ 37 cp src/config.mk.dist src/auto/config.mk; \
38 fi 38 fi
39 @echo "Starting make in the src directory." 39 @echo "Starting make in the src directory."
40 @echo "If there are problems, cd to the src directory and run make there" 40 @echo "If there are problems, cd to the src directory and run make there"
41 cd src && $(MAKE) $@ 41 cd src && $(MAKE) $@
42 42 # When the target is "test" also run the indent tests.
43 test: all 43 @if test "$@" = "test"; then \
44 cd src && $(MAKE) test 44 $(MAKE) indenttest; \
45 cd runtime/indent && $(MAKE) clean && $(MAKE) test 45 fi
46
47 # Executable used for running the indent tests.
48 VIM_FOR_INDENTTEST = ../../src/vim
49
50 indenttest:
51 cd runtime/indent && \
52 $(MAKE) clean VIM="$(VIM_FOR_INDENTTEST)" && \
53 $(MAKE) test VIM="$(VIM_FOR_INDENTTEST)"
46 54
47 55
48 ######################################################################### 56 #########################################################################
49 # 2. Creating the various distribution files. 57 # 2. Creating the various distribution files.
50 # 58 #