commit | de0ad40cb3c1bc691a754698ed16a5b6cdb4086b | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Dec 03 17:21:28 2015 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Dec 03 17:21:28 2015 +0100 |
tree | a184c10b53c44513216100cf095a37840710ceee | |
parent | 6cd1345307440491580e5e86cb82c54ee9a46baa [diff] [blame] |
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)
diff --git a/src/testdir/runtest.vim b/src/testdir/runtest.vim index 8589bf6..0dc142e 100644 --- a/src/testdir/runtest.vim +++ b/src/testdir/runtest.vim
@@ -76,7 +76,7 @@ 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