Add way to run tests using my in-development vim debugger
This commit is contained in:
parent
77dc400077
commit
77522cbd44
2 changed files with 23 additions and 2 deletions
|
|
@ -36,7 +36,7 @@
|
|||
let s:single_test_timeout = 60000
|
||||
|
||||
" Restrict the runtimepath to the exact minimum needed for testing
|
||||
let &rtp = getcwd() . '/lib'
|
||||
let &runtimepath = getcwd() . '/lib'
|
||||
set runtimepath+=$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after
|
||||
if has('packages')
|
||||
let &packpath = &runtimepath
|
||||
|
|
@ -71,7 +71,7 @@ func s:TestFailed()
|
|||
endfunc
|
||||
|
||||
func! Abort( timer_id )
|
||||
if exists( '&debugfunc' ) && &debugfunc != ''
|
||||
if exists( '&debugfunc' ) && &debugfunc !=# ''
|
||||
return
|
||||
endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue