From: Bram Moolenaar Date: Sat, 20 Mar 2021 15:44:25 +0000 (+0100) Subject: patch 8.2.2630: hard to see where a test gets stuck X-Git-Tag: v8.2.2630 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=592f57f5fec1064cc276a0d7992cc543bed04fd5;p=vim patch 8.2.2630: hard to see where a test gets stuck Problem: Hard to see where a test gets stuck. Solution: Print the executed test function. (Dominique Pellé, closes #7975) --- diff --git a/src/testdir/Makefile b/src/testdir/Makefile index 2fb329aa1..050a032f1 100644 --- a/src/testdir/Makefile +++ b/src/testdir/Makefile @@ -12,7 +12,7 @@ SCRIPTSOURCE = ../../runtime # Comment out this line to see the verbose output of tests. # # Catches SwapExists to avoid hanging at the ATTENTION prompt. -REDIR_TEST_TO_NULL = --cmd 'au SwapExists * let v:swapchoice = "e"' > /dev/null +REDIR_TEST_TO_NULL = --cmd 'au SwapExists * let v:swapchoice = "e"' | LC_ALL=C LANG=C LANGUAGE=C awk '/Executing Test_/{match($$0, "Executing Test_[^\\)]*\\)"); print substr($$0, RSTART, RLENGTH) "\r"; fflush()}' # Uncomment this line to use valgrind for memory leaks and extra warnings. # The output goes into a file "valgrind.testN" diff --git a/src/version.c b/src/version.c index 6ec87e4ba..a174b2871 100644 --- a/src/version.c +++ b/src/version.c @@ -750,6 +750,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2630, /**/ 2629, /**/