]> granicus.if.org Git - vim/commitdiff
patch 8.1.1101: signals test may fail in the GUI v8.1.1101
authorBram Moolenaar <Bram@vim.org>
Tue, 2 Apr 2019 19:45:41 +0000 (21:45 +0200)
committerBram Moolenaar <Bram@vim.org>
Tue, 2 Apr 2019 19:45:41 +0000 (21:45 +0200)
Problem:    Signals test may fail in the GUI.
Solution:   Skip the test for the GUI. (Yee Checng Chin, closes #4202)

src/testdir/test_signals.vim
src/version.c

index 3fea76bd6983fde1efef0a53da665ae29415f57b..af7b88201adf47e014555d2a9cb96d0d0de577ee 100644 (file)
@@ -4,6 +4,11 @@ if !has('unix')
   finish
 endif
 
+if has('gui_running')
+  " Signals only work for terminals, and won't work for GUI.
+  finish
+endif
+
 source shared.vim
 
 " Test signal WINCH (window resize signal)
index bb112db467dd6a443130fcfa852cb2fe53f995aa..fe7112807cf1bb86f29971a9821b9f8cda74db64 100644 (file)
@@ -771,6 +771,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1101,
 /**/
     1100,
 /**/