|
Karsten Hopp |
5352e0 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
5352e0 |
Subject: Patch 7.3.906
|
|
Karsten Hopp |
5352e0 |
Fcc: outbox
|
|
Karsten Hopp |
5352e0 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
5352e0 |
Mime-Version: 1.0
|
|
Karsten Hopp |
5352e0 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
5352e0 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
5352e0 |
------------
|
|
Karsten Hopp |
5352e0 |
|
|
Karsten Hopp |
5352e0 |
Patch 7.3.906
|
|
Karsten Hopp |
5352e0 |
Problem: The "sleep .2" for running tests does not work on Solaris.
|
|
Karsten Hopp |
5352e0 |
Solution: Fall back to using "sleep 1". (Laurent Blume)
|
|
Karsten Hopp |
5352e0 |
Files: src/testdir/Makefile
|
|
Karsten Hopp |
5352e0 |
|
|
Karsten Hopp |
5352e0 |
|
|
Karsten Hopp |
5352e0 |
*** ../vim-7.3.905/src/testdir/Makefile 2013-04-12 13:44:49.000000000 +0200
|
|
Karsten Hopp |
5352e0 |
--- src/testdir/Makefile 2013-04-21 13:06:20.000000000 +0200
|
|
Karsten Hopp |
5352e0 |
***************
|
|
Karsten Hopp |
5352e0 |
*** 69,76 ****
|
|
Karsten Hopp |
5352e0 |
.in.out:
|
|
Karsten Hopp |
5352e0 |
-rm -rf $*.failed test.ok $(RM_ON_RUN)
|
|
Karsten Hopp |
5352e0 |
cp $*.ok test.ok
|
|
Karsten Hopp |
5352e0 |
! # Sleep a moment to avoid that the xterm title is messed up
|
|
Karsten Hopp |
5352e0 |
! @-sleep .2
|
|
Karsten Hopp |
5352e0 |
-$(RUN_VIM) $*.in
|
|
Karsten Hopp |
5352e0 |
|
|
Karsten Hopp |
5352e0 |
# For flaky tests retry one time.
|
|
Karsten Hopp |
5352e0 |
--- 69,78 ----
|
|
Karsten Hopp |
5352e0 |
.in.out:
|
|
Karsten Hopp |
5352e0 |
-rm -rf $*.failed test.ok $(RM_ON_RUN)
|
|
Karsten Hopp |
5352e0 |
cp $*.ok test.ok
|
|
Karsten Hopp |
5352e0 |
! # Sleep a moment to avoid that the xterm title is messed up.
|
|
Karsten Hopp |
5352e0 |
! # 200 msec is sufficient, but only modern sleep supports a fraction of
|
|
Karsten Hopp |
5352e0 |
! # a second, fall back to a second if it fails.
|
|
Karsten Hopp |
5352e0 |
! @-/bin/sh -c "sleep .2 > /dev/null 2>&1 || sleep 1"
|
|
Karsten Hopp |
5352e0 |
-$(RUN_VIM) $*.in
|
|
Karsten Hopp |
5352e0 |
|
|
Karsten Hopp |
5352e0 |
# For flaky tests retry one time.
|
|
Karsten Hopp |
5352e0 |
*** ../vim-7.3.905/src/version.c 2013-04-15 22:22:48.000000000 +0200
|
|
Karsten Hopp |
5352e0 |
--- src/version.c 2013-04-24 12:54:57.000000000 +0200
|
|
Karsten Hopp |
5352e0 |
***************
|
|
Karsten Hopp |
5352e0 |
*** 730,731 ****
|
|
Karsten Hopp |
5352e0 |
--- 730,733 ----
|
|
Karsten Hopp |
5352e0 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
5352e0 |
+ /**/
|
|
Karsten Hopp |
5352e0 |
+ 906,
|
|
Karsten Hopp |
5352e0 |
/**/
|
|
Karsten Hopp |
5352e0 |
|
|
Karsten Hopp |
5352e0 |
--
|
|
Karsten Hopp |
5352e0 |
Don't be humble ... you're not that great.
|
|
Karsten Hopp |
5352e0 |
-- Golda Meir
|
|
Karsten Hopp |
5352e0 |
|
|
Karsten Hopp |
5352e0 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
5352e0 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
5352e0 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
5352e0 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|