comparison src/testdir/test_channel.vim @ 29253:5dd393285464 v8.2.5145

patch 8.2.5145: exit test causes spurious valgrind reports Commit: https://github.com/vim/vim/commit/cf801d4b95180ddaee1bf633ef482232625dd80b Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jun 21 18:34:42 2022 +0100 patch 8.2.5145: exit test causes spurious valgrind reports Problem: Exit test causes spurious valgrind reports. Solution: Skip test. Add CheckNotValgrind.
author Bram Moolenaar <Bram@vim.org>
date Tue, 21 Jun 2022 19:45:03 +0200
parents 0b47ef4e19b8
children d891115c0aea
comparison
equal deleted inserted replaced
29252:49805cb64d1d 29253:5dd393285464
1791 %bw! 1791 %bw!
1792 endfunc 1792 endfunc
1793 1793
1794 func Test_job_stop_immediately() 1794 func Test_job_stop_immediately()
1795 " With valgrind this causes spurious leak reports 1795 " With valgrind this causes spurious leak reports
1796 if RunningWithValgrind() 1796 CheckNotValgrind
1797 return
1798 endif
1799 1797
1800 let g:job = job_start([s:python, '-c', 'import time;time.sleep(10)']) 1798 let g:job = job_start([s:python, '-c', 'import time;time.sleep(10)'])
1801 try 1799 try
1802 eval g:job->job_stop() 1800 eval g:job->job_stop()
1803 call WaitForAssert({-> assert_equal('dead', job_status(g:job))}) 1801 call WaitForAssert({-> assert_equal('dead', job_status(g:job))})