Mercurial > vim
comparison src/testdir/Makefile @ 24178:d5328b2b0edf v8.2.2630
patch 8.2.2630: hard to see where a test gets stuck
Commit: https://github.com/vim/vim/commit/592f57f5fec1064cc276a0d7992cc543bed04fd5
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Mar 20 16:44:25 2021 +0100
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 https://github.com/vim/vim/issues/7975)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 20 Mar 2021 16:45:02 +0100 |
parents | 947aba2d8c28 |
children | 4f4960861583 |
comparison
equal
deleted
inserted
replaced
24177:db3a2032bfac | 24178:d5328b2b0edf |
---|---|
10 SCRIPTSOURCE = ../../runtime | 10 SCRIPTSOURCE = ../../runtime |
11 | 11 |
12 # Comment out this line to see the verbose output of tests. | 12 # Comment out this line to see the verbose output of tests. |
13 # | 13 # |
14 # Catches SwapExists to avoid hanging at the ATTENTION prompt. | 14 # 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()}' |
16 | 16 |
17 # Uncomment this line to use valgrind for memory leaks and extra warnings. | 17 # Uncomment this line to use valgrind for memory leaks and extra warnings. |
18 # The output goes into a file "valgrind.testN" | 18 # The output goes into a file "valgrind.testN" |
19 # Vim should be compiled with EXITFREE to avoid false warnings. | 19 # Vim should be compiled with EXITFREE to avoid false warnings. |
20 # This will make testing about 10 times as slow. | 20 # This will make testing about 10 times as slow. |