changeset 3861:0545dab1517f v7.3.687

updated for version 7.3.687 Problem: Test 16 fails when $DISPLAY is not set. Solution: Skip the test when $DISPLAY is not set.
author Bram Moolenaar <bram@vim.org>
date Thu, 11 Oct 2012 04:44:33 +0200
parents cd8958972807
children 4cb1f10316ca
files src/testdir/test16.in src/version.c
diffstat 2 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test16.in
+++ b/src/testdir/test16.in
@@ -2,6 +2,7 @@ Tests for resetting "secure" flag after 
 For KDE set a font, empty 'guifont' may cause a hang.
 
 STARTTEST
+:if $DISPLAY == "" | e! test.ok | wq! test.out | endif
 :set exrc secure
 :if has("gui_kde")
 :  set guifont=Courier\ 10\ Pitch/8/-1/5/50/0/0/0/0/0
--- a/src/version.c
+++ b/src/version.c
@@ -720,6 +720,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    687,
+/**/
     686,
 /**/
     685,