summaryrefslogtreecommitdiffstats
path: root/src/testdir/Makefile
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-03-20 16:44:25 +0100
committerBram Moolenaar <Bram@vim.org>2021-03-20 16:44:25 +0100
commit592f57f5fec1064cc276a0d7992cc543bed04fd5 (patch)
tree3cde4867e9f08469bec5b0a8cc5dcfa63214bbe0 /src/testdir/Makefile
parenta0399efa72380115a3eb650544dd64e459476bd2 (diff)
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)
Diffstat (limited to 'src/testdir/Makefile')
-rw-r--r--src/testdir/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/Makefile b/src/testdir/Makefile
index 2fb329aa1c..050a032f1a 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"