Karsten Hopp 81c285
To: vim-dev@vim.org
Karsten Hopp 81c285
Subject: Patch 7.2.217
Karsten Hopp 81c285
Fcc: outbox
Karsten Hopp 81c285
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 81c285
Mime-Version: 1.0
Karsten Hopp 81c285
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 81c285
Content-Transfer-Encoding: 8bit
Karsten Hopp 81c285
------------
Karsten Hopp 81c285
Karsten Hopp 81c285
Patch 7.2.217
Karsten Hopp 81c285
Problem:    Running tests with valgrind doesn't work as advertised.
Karsten Hopp 81c285
Solution:   Fix the line in the Makefile.
Karsten Hopp 81c285
Files:	    src/testdir/Makefile
Karsten Hopp 81c285
Karsten Hopp 81c285
Karsten Hopp 81c285
*** ../vim-7.2.216/src/testdir/Makefile	2009-03-11 16:26:01.000000000 +0100
Karsten Hopp 81c285
--- src/testdir/Makefile	2009-06-24 14:59:42.000000000 +0200
Karsten Hopp 81c285
***************
Karsten Hopp 81c285
*** 4,12 ****
Karsten Hopp 81c285
  
Karsten Hopp 81c285
  VIMPROG = ../vim
Karsten Hopp 81c285
  
Karsten Hopp 81c285
! # Uncomment this line for using valgrind.
Karsten Hopp 81c285
! # The output goes into a file "valgrind.$PID" (sorry, no test number).
Karsten Hopp 81c285
! # VALGRIND = valgrind --tool=memcheck --leak-check=yes --num-callers=15 --logfile=valgrind
Karsten Hopp 81c285
  
Karsten Hopp 81c285
  SCRIPTS = test1.out test2.out test3.out test4.out test5.out test6.out \
Karsten Hopp 81c285
  		test7.out test8.out test9.out test10.out test11.out \
Karsten Hopp 81c285
--- 4,14 ----
Karsten Hopp 81c285
  
Karsten Hopp 81c285
  VIMPROG = ../vim
Karsten Hopp 81c285
  
Karsten Hopp 81c285
! # Uncomment this line to use valgrind for memory leaks and extra warnings.
Karsten Hopp 81c285
! #   The output goes into a file "valgrind.testN"
Karsten Hopp 81c285
! #   Vim should be compiled with EXITFREE to avoid false warnings.
Karsten Hopp 81c285
! #   This will make testing about 10 times as slow.
Karsten Hopp 81c285
! # VALGRIND = valgrind --tool=memcheck --leak-check=yes --num-callers=15 --log-file=valgrind.$*
Karsten Hopp 81c285
  
Karsten Hopp 81c285
  SCRIPTS = test1.out test2.out test3.out test4.out test5.out test6.out \
Karsten Hopp 81c285
  		test7.out test8.out test9.out test10.out test11.out \
Karsten Hopp 81c285
*** ../vim-7.2.216/src/version.c	2009-06-24 17:51:01.000000000 +0200
Karsten Hopp 81c285
--- src/version.c	2009-06-24 18:07:07.000000000 +0200
Karsten Hopp 81c285
***************
Karsten Hopp 81c285
*** 678,679 ****
Karsten Hopp 81c285
--- 678,681 ----
Karsten Hopp 81c285
  {   /* Add new patch number below this line */
Karsten Hopp 81c285
+ /**/
Karsten Hopp 81c285
+     217,
Karsten Hopp 81c285
  /**/
Karsten Hopp 81c285
Karsten Hopp 81c285
-- 
Karsten Hopp 81c285
A day without sunshine is like, well, night.
Karsten Hopp 81c285
Karsten Hopp 81c285
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 81c285
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 81c285
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp 81c285
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///