changeset 3408:636e4db6e207 v7.3.470

updated for version 7.3.470 Problem: Test 62 fails when compiled without GUI and X11. Solution: Don't test :drop when it is not supported.
author Bram Moolenaar <bram@vim.org>
date Wed, 07 Mar 2012 22:55:20 +0100
parents 292243a1cb10
children b3ccae22bae7
files src/testdir/test62.in src/version.c
diffstat 2 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test62.in
+++ b/src/testdir/test62.in
@@ -49,7 +49,7 @@ STARTTEST
 :tabclose
 :call append(line('$'), test_status)
 :"
-:"
+:if has('gui') || has('clientserver')
 :" Test for ":tab drop exist-file" to keep current window.
 :sp test1
 :tab drop test1
@@ -85,6 +85,12 @@ STARTTEST
 :tabclose
 :q
 :call append(line('$'), test_status)
+:else
+:" :drop not supported
+:call append(line('$'), 'tab drop 1: pass')
+:call append(line('$'), 'tab drop 2: pass')
+:call append(line('$'), 'tab drop 3: pass')
+:endif
 :"
 :"
 :/^Results/,$w! test.out
--- a/src/version.c
+++ b/src/version.c
@@ -715,6 +715,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    470,
+/**/
     469,
 /**/
     468,