]> granicus.if.org Git - vim/commitdiff
patch 7.4.953 v7.4.953
authorBram Moolenaar <Bram@vim.org>
Thu, 3 Dec 2015 16:21:28 +0000 (17:21 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 3 Dec 2015 16:21:28 +0000 (17:21 +0100)
Problem:    When a test script navigates to another buffer the .res file is
            created with the wrong name.
Solution:   Use the "testname" for the .res file. (Damien)

src/testdir/runtest.vim
src/version.c

index 8589bf6935299325f599d456e400a7bbdba81f90..0dc142eb97fe1ee8c1519f28bbd33b23ff3ae2fe 100644 (file)
@@ -76,7 +76,7 @@ endfor
 
 if fail == 0
   " Success, create the .res file so that make knows it's done.
-  split %:r.res
+  exe 'split ' . fnamemodify(testname, ':r') . '.res'
   write
 endif
 
index 887a2cba49df806f3a51f89018bc32f6e4b657a2..3cdc86fa74f518259c6235e6cb68e6f7b3e67919 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    953,
 /**/
     952,
 /**/