diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-03-20 16:44:25 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-03-20 16:44:25 +0100 |
commit | 592f57f5fec1064cc276a0d7992cc543bed04fd5 (patch) | |
tree | 3cde4867e9f08469bec5b0a8cc5dcfa63214bbe0 | |
parent | a0399efa72380115a3eb650544dd64e459476bd2 (diff) | |
download | vim-git-592f57f5fec1064cc276a0d7992cc543bed04fd5.tar.gz |
patch 8.2.2630: hard to see where a test gets stuckv8.2.2630
Problem: Hard to see where a test gets stuck.
Solution: Print the executed test function. (Dominique Pellé, closes #7975)
-rw-r--r-- | src/testdir/Makefile | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
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 @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2630, +/**/ 2629, /**/ 2628, |