forked from aniani/vim
patch 8.2.3715: Vim9: valgrind reports spurious problems for a test
Problem: Vim9: valgrind reports spurious problems for a test. Solution: Move the test to the set that is known to fail.
This commit is contained in:
@@ -1879,17 +1879,7 @@ def Test_job_info()
|
|||||||
endif
|
endif
|
||||||
enddef
|
enddef
|
||||||
|
|
||||||
def Test_job_info_return_type()
|
" Test_job_info_return_type() is in test_vim9_fails.vim
|
||||||
if !has('job')
|
|
||||||
CheckFeature job
|
|
||||||
else
|
|
||||||
job_start(&shell)
|
|
||||||
var jobs = job_info()
|
|
||||||
assert_equal('list<job>', typename(jobs))
|
|
||||||
assert_equal('dict<any>', typename(job_info(jobs[0])))
|
|
||||||
job_stop(jobs[0])
|
|
||||||
endif
|
|
||||||
enddef
|
|
||||||
|
|
||||||
def Test_job_setoptions()
|
def Test_job_setoptions()
|
||||||
if !has('job')
|
if !has('job')
|
||||||
|
@@ -8,3 +8,17 @@ def Test_assignment()
|
|||||||
var job2: job = job_start('willfail')
|
var job2: job = job_start('willfail')
|
||||||
endif
|
endif
|
||||||
enddef
|
enddef
|
||||||
|
|
||||||
|
" Unclear why this test causes valgrind to report problems.
|
||||||
|
def Test_job_info_return_type()
|
||||||
|
if !has('job')
|
||||||
|
CheckFeature job
|
||||||
|
else
|
||||||
|
var job: job = job_start(&shell)
|
||||||
|
var jobs = job_info()
|
||||||
|
assert_equal('list<job>', typename(jobs))
|
||||||
|
assert_equal('dict<any>', typename(job_info(jobs[0])))
|
||||||
|
job_stop(job)
|
||||||
|
endif
|
||||||
|
enddef
|
||||||
|
|
||||||
|
@@ -753,6 +753,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
3715,
|
||||||
/**/
|
/**/
|
||||||
3714,
|
3714,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user