changeset 19465:07627d1b4d8c v8.2.0290

patch 8.2.0290: running individual test differs from all tests Commit: https://github.com/vim/vim/commit/85683ec620be199d63af3b0542a03eeb72b08fb6 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Feb 20 22:35:02 2020 +0100 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 https://github.com/vim/vim/issues/5672)
author Bram Moolenaar <Bram@vim.org>
date Thu, 20 Feb 2020 22:45:03 +0100
parents f26f4ce18b1a
children f4820960d7e8
files src/testdir/Makefile src/testdir/README.txt src/version.c
diffstat 3 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/Makefile
+++ b/src/testdir/Makefile
@@ -73,7 +73,7 @@ report:
 # 	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; \
--- a/src/testdir/README.txt
+++ b/src/testdir/README.txt
@@ -25,6 +25,8 @@ At 2), instead of running the test separ
 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):
 
--- a/src/version.c
+++ b/src/version.c
@@ -739,6 +739,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    290,
+/**/
     289,
 /**/
     288,