Fix issues with running individual tests, and get the Vim tests to run on certain machines again

This commit is contained in:
w0rp
2017-07-09 14:58:17 +01:00
parent c67d3b7e60
commit 836a2cfe3b
7 changed files with 76 additions and 22 deletions

View File

@@ -47,6 +47,12 @@ Execute(ALE shouldn't blow up when run from a sandbox):
sandbox call ale#Lint()
Execute(ALE shouldn't blow up if file cleanup happens in a sandbox):
" Make a call to an engine function first, so the function will be defined
" before we make the sandbox call.
"
" You are not allowed to define any functions in the sandbox.
call ale#engine#InitBufferInfo(3)
let g:ale_buffer_info[3] = {
\ 'temporary_file_list': ['/tmp/foo'],
\ 'temporary_directory_list': ['/tmp/bar'],