summaryrefslogtreecommitdiff
path: root/src/testdir/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/testdir/Makefile')
-rw-r--r--src/testdir/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/testdir/Makefile b/src/testdir/Makefile
index 6a9ef0f97..e9e0f4b32 100644
--- a/src/testdir/Makefile
+++ b/src/testdir/Makefile
@@ -9,8 +9,10 @@ XXDPROG = ../xxd/xxd
SCRIPTSOURCE = ../../runtime
-# Change this to empty to see the verbose output of tests.
-REDIR_TEST_TO_NULL = > /dev/null
+# 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
# Uncomment this line to use valgrind for memory leaks and extra warnings.
# The output goes into a file "valgrind.testN"