Mercurial > vim
comparison src/testdir/Makefile @ 17391:8a43873df941 v8.1.1694
patch 8.1.1694: the RUN_VIM variable is longer than needed
commit https://github.com/vim/vim/commit/41a82604453080d0011f281532582d3bd360df4a
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 14 21:54:26 2019 +0200
patch 8.1.1694: the RUN_VIM variable is longer than needed
Problem: The RUN_VIM variable is longer than needed.
Solution: Shorten RUN_VIM. (Daniel Hahler, closes https://github.com/vim/vim/issues/4643)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 14 Jul 2019 22:00:05 +0200 |
parents | 9140a11d111a |
children | 8e10cabcde8a |
comparison
equal
deleted
inserted
replaced
17390:0ca3dc4c1e6d | 17391:8a43873df941 |
---|---|
79 exit 1; \ | 79 exit 1; \ |
80 fi | 80 fi |
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); export VIMRUNTIME; $(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 clean: | 86 clean: |
87 -rm -rf *.out *.failed *.res *.rej *.orig XfakeHOME Xdir1 Xfind | 87 -rm -rf *.out *.failed *.res *.rej *.orig XfakeHOME Xdir1 Xfind |
88 -rm -f opt_test.vim test.log test_result.log messages | 88 -rm -f opt_test.vim test.log test_result.log messages |
89 -rm -f $(RM_ON_RUN) $(RM_ON_START) | 89 -rm -f $(RM_ON_RUN) $(RM_ON_START) |
148 | 148 |
149 | 149 |
150 # New style of tests uses Vim script with assert calls. These are easier | 150 # New style of tests uses Vim script with assert calls. These are easier |
151 # to write and a lot easier to read and debug. | 151 # to write and a lot easier to read and debug. |
152 # Limitation: Only works with the +eval feature. | 152 # Limitation: Only works with the +eval feature. |
153 RUN_VIMTEST = VIMRUNTIME=$(SCRIPTSOURCE); export VIMRUNTIME; $(VALGRIND) $(VIMPROG) -f $(GUI_FLAG) -u unix.vim | 153 RUN_VIMTEST = VIMRUNTIME=$(SCRIPTSOURCE) $(VALGRIND) $(VIMPROG) -f $(GUI_FLAG) -u unix.vim |
154 | 154 |
155 newtests: newtestssilent | 155 newtests: newtestssilent |
156 @/bin/sh -c "if test -f messages && grep -q 'SKIPPED\|FAILED' messages; then cat messages; fi" | 156 @/bin/sh -c "if test -f messages && grep -q 'SKIPPED\|FAILED' messages; then cat messages; fi" |
157 | 157 |
158 newtestssilent: $(NEW_TESTS_RES) | 158 newtestssilent: $(NEW_TESTS_RES) |