mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
test/oldtest: avoid delete() on files used by a subprocess
This should avoid the hangs observed in the TSAN build on travis CI. TODO: Find the root cause ...
This commit is contained in:
parent
92101947fe
commit
678e87b90a
@ -481,9 +481,12 @@ function! ExtraVim(...)
|
|||||||
bwipeout
|
bwipeout
|
||||||
let g:Xpath = g:Xpath + sum
|
let g:Xpath = g:Xpath + sum
|
||||||
|
|
||||||
|
" FIXME(nvim): delete() of a file used by a subprocess hangs TSAN build on travis CI.
|
||||||
|
if !empty($TRAVIS)
|
||||||
" Delete the extra script and the resultfile.
|
" Delete the extra script and the resultfile.
|
||||||
call delete(extra_script)
|
call delete(extra_script)
|
||||||
call delete(resultfile)
|
call delete(resultfile)
|
||||||
|
endif
|
||||||
|
|
||||||
" Switch back to the buffer that was active when this function was entered.
|
" Switch back to the buffer that was active when this function was entered.
|
||||||
exec "buffer" current_buffnr
|
exec "buffer" current_buffnr
|
||||||
|
Loading…
Reference in New Issue
Block a user