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 -- [email protected] -- 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    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui