changeset 7295:6922fcadafe6 v7.4.953

commit https://github.com/vim/vim/commit/de0ad40cb3c1bc691a754698ed16a5b6cdb4086b Author: Bram Moolenaar <Bram@vim.org> Date: Thu Dec 3 17:21:28 2015 +0100 patch 7.4.953 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)
author Christian Brabandt <cb@256bit.org>
date Thu, 03 Dec 2015 17:30:04 +0100
parents 01f4fc5762b2
children e6bcb444a970
files src/testdir/runtest.vim src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/runtest.vim
+++ b/src/testdir/runtest.vim
@@ -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
 
--- a/src/version.c
+++ b/src/version.c
@@ -742,6 +742,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    953,
+/**/
     952,
 /**/
     951,