updated for version 7.3.470 v7.3.470
authorBram Moolenaar <Bram@vim.org>
Wed, 7 Mar 2012 21:55:20 +0000 (22:55 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 7 Mar 2012 21:55:20 +0000 (22:55 +0100)
Problem:    Test 62 fails when compiled without GUI and X11.
Solution:   Don't test :drop when it is not supported.

src/testdir/test62.in
src/version.c

index c549c8b43868ccf8ee9d8bcf68d1e14a7b643a71..1e514cd21a6b6903ad9fa52670946027b4c34e7a 100644 (file)
@@ -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
index 2932be8c194e69b37acfe78b9c4b8374be5ed421..6b773ffd0aa38f37c84347bb107fc17e73bfc25f 100644 (file)
@@ -714,6 +714,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    470,
 /**/
     469,
 /**/