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