Problem: Exit test causes spurious valgrind reports.
Solution: Skip test. Add CheckNotValgrind.
endif
endfunc
+" Command to check for not running under valgrind
+command CheckNotValgrind call CheckNotValgrind()
+func CheckNotValgrind()
+ if RunningWithValgrind()
+ throw 'Skipped: does not work well with valgrind'
+ endif
+endfunc
+
" Command to check for X11 based GUI
command CheckX11BasedGui call CheckX11BasedGui()
func CheckX11BasedGui()
func Test_job_stop_immediately()
" With valgrind this causes spurious leak reports
- if RunningWithValgrind()
- return
- endif
+ CheckNotValgrind
let g:job = job_start([s:python, '-c', 'import time;time.sleep(10)'])
try
CheckNotMSWindows
" The early exit causes memory not to be freed somehow
CheckNotAsan
+ CheckNotValgrind
call writefile([":au VimLeave * call writefile(['l = ' .. v:exiting], 'Xtestout')", ":tabnew", "q:"], 'Xscript', 'b')
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 5145,
/**/
5144,
/**/