diff options
author | Bram Moolenaar <Bram@vim.org> | 2015-12-03 17:21:28 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2015-12-03 17:21:28 +0100 |
commit | de0ad40cb3c1bc691a754698ed16a5b6cdb4086b (patch) | |
tree | a184c10b53c44513216100cf095a37840710ceee | |
parent | 6cd1345307440491580e5e86cb82c54ee9a46baa (diff) | |
download | vim-git-de0ad40cb3c1bc691a754698ed16a5b6cdb4086b.tar.gz |
patch 7.4.953v7.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)
-rw-r--r-- | src/testdir/runtest.vim | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/testdir/runtest.vim b/src/testdir/runtest.vim index 8589bf693..0dc142eb9 100644 --- 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 diff --git a/src/version.c b/src/version.c index 887a2cba4..3cdc86fa7 100644 --- 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, |