To: vim_dev@googlegroups.com Subject: Patch 7.4.1720 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 7.4.1720 Problem: Tests fail without the job feature. Solution: Skip tests when the job feature is not present. Files: src/testdir/test_partial.vim *** ../vim-7.4.1719/src/testdir/test_partial.vim 2016-04-08 17:07:09.546160667 +0200 --- src/testdir/test_partial.vim 2016-04-08 17:23:44.695656664 +0200 *************** *** 243,255 **** endfunc func Test_cycle_partial_job() ! let job = job_start('echo') ! call job_setoptions(job, {'exit_cb': function('Ignored', [job])}) ! unlet job endfunc func Test_ref_job_partial_dict() ! let g:ref_job = job_start('echo') ! let d = {'a': 'b'} ! call job_setoptions(g:ref_job, {'exit_cb': function('string', [], d)}) endfunc --- 243,259 ---- endfunc func Test_cycle_partial_job() ! if has('job') ! let job = job_start('echo') ! call job_setoptions(job, {'exit_cb': function('Ignored', [job])}) ! unlet job ! endif endfunc func Test_ref_job_partial_dict() ! if has('job') ! let g:ref_job = job_start('echo') ! let d = {'a': 'b'} ! call job_setoptions(g:ref_job, {'exit_cb': function('string', [], d)}) ! endif endfunc *** ../vim-7.4.1719/src/version.c 2016-04-08 17:07:09.546160667 +0200 --- src/version.c 2016-04-08 17:24:35.855117280 +0200 *************** *** 750,751 **** --- 750,753 ---- { /* Add new patch number below this line */ + /**/ + 1720, /**/ -- hundred-and-one symptoms of being an internet addict: 247. You use www.switchboard.com instead of dialing 411 and 555-12-12 for directory assistance. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///