|
Karsten Hopp |
011c1b |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
011c1b |
Subject: Patch 7.3.751
|
|
Karsten Hopp |
011c1b |
Fcc: outbox
|
|
Karsten Hopp |
011c1b |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
011c1b |
Mime-Version: 1.0
|
|
Karsten Hopp |
011c1b |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
011c1b |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
011c1b |
------------
|
|
Karsten Hopp |
011c1b |
|
|
Karsten Hopp |
011c1b |
Patch 7.3.751
|
|
Karsten Hopp |
011c1b |
Problem: Test 61 is flaky, it fails once in a while.
|
|
Karsten Hopp |
011c1b |
Solution: When it fails retry once.
|
|
Karsten Hopp |
011c1b |
Files: src/testdir/Makefile
|
|
Karsten Hopp |
011c1b |
|
|
Karsten Hopp |
011c1b |
|
|
Karsten Hopp |
011c1b |
*** ../vim-7.3.750/src/testdir/Makefile 2012-12-05 16:10:21.000000000 +0100
|
|
Karsten Hopp |
011c1b |
--- src/testdir/Makefile 2012-12-05 18:17:03.000000000 +0100
|
|
Karsten Hopp |
011c1b |
***************
|
|
Karsten Hopp |
011c1b |
*** 47,58 ****
|
|
Karsten Hopp |
011c1b |
|
|
Karsten Hopp |
011c1b |
$(SCRIPTS) $(SCRIPTS_GUI): $(VIMPROG)
|
|
Karsten Hopp |
011c1b |
|
|
Karsten Hopp |
011c1b |
clean:
|
|
Karsten Hopp |
011c1b |
! -rm -rf *.out *.failed *.rej *.orig test.log tiny.vim small.vim mbyte.vim mzscheme.vim lua.vim test.ok X* valgrind.* viminfo
|
|
Karsten Hopp |
011c1b |
|
|
Karsten Hopp |
011c1b |
test1.out: test1.in
|
|
Karsten Hopp |
011c1b |
! -rm -f $*.failed tiny.vim small.vim mbyte.vim mzscheme.vim lua.vim test.ok X* viminfo
|
|
Karsten Hopp |
011c1b |
! $(VALGRIND) $(VIMPROG) -u unix.vim -U NONE --noplugin -s dotest.in $*.in
|
|
Karsten Hopp |
011c1b |
@/bin/sh -c "if diff test.out $*.ok; \
|
|
Karsten Hopp |
011c1b |
then mv -f test.out $*.out; \
|
|
Karsten Hopp |
011c1b |
else echo; \
|
|
Karsten Hopp |
011c1b |
--- 47,62 ----
|
|
Karsten Hopp |
011c1b |
|
|
Karsten Hopp |
011c1b |
$(SCRIPTS) $(SCRIPTS_GUI): $(VIMPROG)
|
|
Karsten Hopp |
011c1b |
|
|
Karsten Hopp |
011c1b |
+ RM_ON_RUN = test.out X* viminfo
|
|
Karsten Hopp |
011c1b |
+ RM_ON_START = tiny.vim small.vim mbyte.vim mzscheme.vim lua.vim test.ok
|
|
Karsten Hopp |
011c1b |
+ RUN_VIM = $(VALGRIND) $(VIMPROG) -u unix.vim -U NONE --noplugin -s dotest.in
|
|
Karsten Hopp |
011c1b |
+
|
|
Karsten Hopp |
011c1b |
clean:
|
|
Karsten Hopp |
011c1b |
! -rm -rf *.out *.failed *.rej *.orig test.log $(RM_ON_RUN) $(RM_ON_START) valgrind.*
|
|
Karsten Hopp |
011c1b |
|
|
Karsten Hopp |
011c1b |
test1.out: test1.in
|
|
Karsten Hopp |
011c1b |
! -rm -rf $*.failed $(RM_ON_RUN) $(RM_ON_START)
|
|
Karsten Hopp |
011c1b |
! $(RUN_VIM) $*.in
|
|
Karsten Hopp |
011c1b |
@/bin/sh -c "if diff test.out $*.ok; \
|
|
Karsten Hopp |
011c1b |
then mv -f test.out $*.out; \
|
|
Karsten Hopp |
011c1b |
else echo; \
|
|
Karsten Hopp |
011c1b |
***************
|
|
Karsten Hopp |
011c1b |
*** 61,71 ****
|
|
Karsten Hopp |
011c1b |
-rm -rf X* viminfo
|
|
Karsten Hopp |
011c1b |
|
|
Karsten Hopp |
011c1b |
.in.out:
|
|
Karsten Hopp |
011c1b |
! -rm -rf $*.failed test.ok test.out X* viminfo
|
|
Karsten Hopp |
011c1b |
cp $*.ok test.ok
|
|
Karsten Hopp |
011c1b |
# Sleep a moment to avoid that the xterm title is messed up
|
|
Karsten Hopp |
011c1b |
@-sleep .2
|
|
Karsten Hopp |
011c1b |
! -$(VALGRIND) $(VIMPROG) -u unix.vim -U NONE --noplugin -s dotest.in $*.in
|
|
Karsten Hopp |
011c1b |
@/bin/sh -c "if test -f test.out; then\
|
|
Karsten Hopp |
011c1b |
if diff test.out $*.ok; \
|
|
Karsten Hopp |
011c1b |
then mv -f test.out $*.out; \
|
|
Karsten Hopp |
011c1b |
--- 65,86 ----
|
|
Karsten Hopp |
011c1b |
-rm -rf X* viminfo
|
|
Karsten Hopp |
011c1b |
|
|
Karsten Hopp |
011c1b |
.in.out:
|
|
Karsten Hopp |
011c1b |
! -rm -rf $*.failed test.ok $(RM_ON_RUN)
|
|
Karsten Hopp |
011c1b |
cp $*.ok test.ok
|
|
Karsten Hopp |
011c1b |
# Sleep a moment to avoid that the xterm title is messed up
|
|
Karsten Hopp |
011c1b |
@-sleep .2
|
|
Karsten Hopp |
011c1b |
! -$(RUN_VIM) $*.in
|
|
Karsten Hopp |
011c1b |
!
|
|
Karsten Hopp |
011c1b |
! # For flaky tests retry one time.
|
|
Karsten Hopp |
011c1b |
! @/bin/sh -c "if test -f test.out -a $* = test61; then \
|
|
Karsten Hopp |
011c1b |
! if diff test.out $*.ok; \
|
|
Karsten Hopp |
011c1b |
! then echo flaky test ok first time; \
|
|
Karsten Hopp |
011c1b |
! else rm -rf $*.failed $(RM_ON_RUN); \
|
|
Karsten Hopp |
011c1b |
! $(RUN_VIM) $*.in; \
|
|
Karsten Hopp |
011c1b |
! fi \
|
|
Karsten Hopp |
011c1b |
! fi"
|
|
Karsten Hopp |
011c1b |
!
|
|
Karsten Hopp |
011c1b |
! # Check if the test.out file matches test.ok.
|
|
Karsten Hopp |
011c1b |
@/bin/sh -c "if test -f test.out; then\
|
|
Karsten Hopp |
011c1b |
if diff test.out $*.ok; \
|
|
Karsten Hopp |
011c1b |
then mv -f test.out $*.out; \
|
|
Karsten Hopp |
011c1b |
*** ../vim-7.3.750/src/version.c 2012-12-05 17:03:17.000000000 +0100
|
|
Karsten Hopp |
011c1b |
--- src/version.c 2012-12-05 18:10:49.000000000 +0100
|
|
Karsten Hopp |
011c1b |
***************
|
|
Karsten Hopp |
011c1b |
*** 727,728 ****
|
|
Karsten Hopp |
011c1b |
--- 727,730 ----
|
|
Karsten Hopp |
011c1b |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
011c1b |
+ /**/
|
|
Karsten Hopp |
011c1b |
+ 751,
|
|
Karsten Hopp |
011c1b |
/**/
|
|
Karsten Hopp |
011c1b |
|
|
Karsten Hopp |
011c1b |
--
|
|
Karsten Hopp |
011c1b |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
011c1b |
103. When you find yourself in the "Computer" section of Barnes & Noble
|
|
Karsten Hopp |
011c1b |
enjoying yourself.
|
|
Karsten Hopp |
011c1b |
|
|
Karsten Hopp |
011c1b |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
011c1b |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
011c1b |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
011c1b |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|