mirror of
https://github.com/neovim/neovim.git
synced 2024-12-25 21:55:17 -07: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
|
||||
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.
|
||||
call delete(extra_script)
|
||||
call delete(resultfile)
|
||||
endif
|
||||
|
||||
" Switch back to the buffer that was active when this function was entered.
|
||||
exec "buffer" current_buffnr
|
||||
|
Loading…
Reference in New Issue
Block a user