mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.2.0290: running individual test differs from all tests
Problem: Running individual test differs from all tests. Solution: Pass on environment variables. (Yee Cheng Chin, closes #5672)
This commit is contained in:
parent
e0807ea4a7
commit
85683ec620
@ -73,7 +73,7 @@ $(SCRIPTS) $(SCRIPTS_GUI) $(NEW_TESTS_RES): $(SCRIPTS_FIRST)
|
||||
# make test_largefile
|
||||
$(NEW_TESTS):
|
||||
rm -f $@.res test.log messages
|
||||
@MAKEFLAGS=--no-print-directory $(MAKE) -f Makefile $@.res
|
||||
@MAKEFLAGS=--no-print-directory $(MAKE) -f Makefile $@.res VIMPROG=$(VIMPROG) XXDPROG=$(XXDPROG) SCRIPTSOURCE=$(SCRIPTSOURCE)
|
||||
@cat messages
|
||||
@if test -f test.log; then \
|
||||
exit 1; \
|
||||
|
@ -25,6 +25,8 @@ At 2), instead of running the test separately, it can be included in
|
||||
bit faster, because Vim doesn't have to be started, one Vim instance runs many
|
||||
tests.
|
||||
|
||||
At 4), to run a test in GUI, add "GUI_FLAG=-g" to the make command.
|
||||
|
||||
|
||||
What you can use (see test_assert.vim for an example):
|
||||
|
||||
|
@ -738,6 +738,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
290,
|
||||
/**/
|
||||
289,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user