Mercurial > vim
comparison src/testdir/Makefile @ 18066:8e10cabcde8a v8.1.2028
patch 8.1.2028: options test script does not work
Commit: https://github.com/vim/vim/commit/d9b0d83b13d2691e4544709abd87eac004715175
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Sep 14 15:46:32 2019 +0200
patch 8.1.2028: options test script does not work
Problem: Options test script does not work.
Solution: Use optiondefs.h for input.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 14 Sep 2019 16:00:04 +0200 |
parents | 8a43873df941 |
children | f2dac4c32f75 |
comparison
equal
deleted
inserted
replaced
18065:2e037541c5dd | 18066:8e10cabcde8a |
---|---|
81 | 81 |
82 RM_ON_RUN = test.out X* viminfo | 82 RM_ON_RUN = test.out X* viminfo |
83 RM_ON_START = tiny.vim small.vim mbyte.vim mzscheme.vim test.ok benchmark.out | 83 RM_ON_START = tiny.vim small.vim mbyte.vim mzscheme.vim test.ok benchmark.out |
84 RUN_VIM = VIMRUNTIME=$(SCRIPTSOURCE) $(VALGRIND) $(VIMPROG) -f $(GUI_FLAG) -u unix.vim $(NO_INITS) -s dotest.in | 84 RUN_VIM = VIMRUNTIME=$(SCRIPTSOURCE) $(VALGRIND) $(VIMPROG) -f $(GUI_FLAG) -u unix.vim $(NO_INITS) -s dotest.in |
85 | 85 |
86 # Delete files that may interfere with running tests. This includes some files | |
87 # that may result from working on the tests, not only from running them. | |
86 clean: | 88 clean: |
87 -rm -rf *.out *.failed *.res *.rej *.orig XfakeHOME Xdir1 Xfind | 89 -rm -rf *.out *.failed *.res *.rej *.orig XfakeHOME Xdir1 Xfind |
88 -rm -f opt_test.vim test.log test_result.log messages | 90 -rm -f opt_test.vim test.log test_result.log messages |
89 -rm -f $(RM_ON_RUN) $(RM_ON_START) | 91 -rm -f $(RM_ON_RUN) $(RM_ON_START) |
90 -rm -f valgrind.* | 92 -rm -f valgrind.* |
174 @echo "$(VIMPROG)" > vimcmd | 176 @echo "$(VIMPROG)" > vimcmd |
175 @echo "$(RUN_GVIMTEST_WITH_GVIMRC)" >> vimcmd | 177 @echo "$(RUN_GVIMTEST_WITH_GVIMRC)" >> vimcmd |
176 $(RUN_VIMTEST) -u gui_preinit.vim -U gui_init.vim $(NO_PLUGINS) -S runtest.vim $< | 178 $(RUN_VIMTEST) -u gui_preinit.vim -U gui_init.vim $(NO_PLUGINS) -S runtest.vim $< |
177 @rm vimcmd | 179 @rm vimcmd |
178 | 180 |
179 opt_test.vim: ../option.c gen_opt_test.vim | 181 opt_test.vim: ../optiondefs.h gen_opt_test.vim |
180 $(VIMPROG) -u NONE -S gen_opt_test.vim --noplugin --not-a-term ../option.c | 182 $(VIMPROG) -u NONE -S gen_opt_test.vim --noplugin --not-a-term ../optiondefs.h |
181 | 183 |
182 test_xxd.res: | 184 test_xxd.res: |
183 XXD=$(XXDPROG); export XXD; $(RUN_VIMTEST) $(NO_INITS) -S runtest.vim test_xxd.vim | 185 XXD=$(XXDPROG); export XXD; $(RUN_VIMTEST) $(NO_INITS) -S runtest.vim test_xxd.vim |