# HG changeset patch # User Bram Moolenaar # Date 1582235103 -3600 # Node ID 07627d1b4d8cbb230552eb61c18dd7a7539dc994 # Parent f26f4ce18b1ad9b97b0fcd63b10df4b1f7dd0e75 patch 8.2.0290: running individual test differs from all tests Commit: https://github.com/vim/vim/commit/85683ec620be199d63af3b0542a03eeb72b08fb6 Author: Bram Moolenaar 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) diff --git a/src/testdir/Makefile b/src/testdir/Makefile --- 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; \ diff --git a/src/testdir/README.txt b/src/testdir/README.txt --- 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): diff --git a/src/version.c b/src/version.c --- 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,