Skip to content

Commit 592f57f

Browse files
committed
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)
1 parent a0399ef commit 592f57f

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/testdir/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ SCRIPTSOURCE = ../../runtime
1212
# Comment out this line to see the verbose output of tests.
1313
#
1414
# Catches SwapExists to avoid hanging at the ATTENTION prompt.
15-
REDIR_TEST_TO_NULL = --cmd 'au SwapExists * let v:swapchoice = "e"' > /dev/null
15+
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()}'
1616

1717
# Uncomment this line to use valgrind for memory leaks and extra warnings.
1818
# The output goes into a file "valgrind.testN"

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,8 @@ static char *(features[]) =
750750

751751
static int included_patches[] =
752752
{ /* Add new patch number below this line */
753+
/**/
754+
2630,
753755
/**/
754756
2629,
755757
/**/

0 commit comments

Comments
 (0)