From 85683ec620be199d63af3b0542a03eeb72b08fb6 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 20 Feb 2020 22:35:02 +0100 Subject: [PATCH] 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) --- src/testdir/Makefile | 2 +- src/testdir/README.txt | 2 ++ src/version.c | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/testdir/Makefile b/src/testdir/Makefile index a0520e0fb..746c84993 100644 --- a/src/testdir/Makefile +++ b/src/testdir/Makefile @@ -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; \ diff --git a/src/testdir/README.txt b/src/testdir/README.txt index 76396fee3..d63914676 100644 --- a/src/testdir/README.txt +++ b/src/testdir/README.txt @@ -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): diff --git a/src/version.c b/src/version.c index 75e02ffb0..58b84d054 100644 --- a/src/version.c +++ b/src/version.c @@ -738,6 +738,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 290, /**/ 289, /**/ -- 2.50.1