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.
diff --git a/src/testdir/test_vim9_builtin.vim b/src/testdir/test_vim9_builtin.vim
index a0acac5..701caa6 100644
--- a/src/testdir/test_vim9_builtin.vim
+++ b/src/testdir/test_vim9_builtin.vim
@@ -1879,17 +1879,7 @@
endif
enddef
-def Test_job_info_return_type()
- 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
+" Test_job_info_return_type() is in test_vim9_fails.vim
def Test_job_setoptions()
if !has('job')
diff --git a/src/testdir/test_vim9_fails.vim b/src/testdir/test_vim9_fails.vim
index e09eb65..216ef0b 100644
--- a/src/testdir/test_vim9_fails.vim
+++ b/src/testdir/test_vim9_fails.vim
@@ -8,3 +8,17 @@
var job2: job = job_start('willfail')
endif
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
+
diff --git a/src/version.c b/src/version.c
index 080c687..b98d0b3 100644
--- a/src/version.c
+++ b/src/version.c
@@ -754,6 +754,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 3715,
+/**/
3714,
/**/
3713,