Mercurial > vim
comparison src/testdir/Makefile @ 9719:219dbe63ad2a v7.4.2135
commit https://github.com/vim/vim/commit/89eaa4185efacab253b23a182c1c8a7bbf1096c9
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 31 14:17:27 2016 +0200
patch 7.4.2135
Problem: Various tiny issues.
Solution: Update comments, white space, etc.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 31 Jul 2016 14:30:05 +0200 |
parents | 8b2d6447fb6a |
children | 4360b2b46125 |
comparison
equal
deleted
inserted
replaced
9718:58d37c738a69 | 9719:219dbe63ad2a |
---|---|
78 # 200 msec is sufficient, but only modern sleep supports a fraction of | 78 # 200 msec is sufficient, but only modern sleep supports a fraction of |
79 # a second, fall back to a second if it fails. | 79 # a second, fall back to a second if it fails. |
80 @-/bin/sh -c "sleep .2 > /dev/null 2>&1 || sleep 1" | 80 @-/bin/sh -c "sleep .2 > /dev/null 2>&1 || sleep 1" |
81 -$(RUN_VIM) $*.in | 81 -$(RUN_VIM) $*.in |
82 | 82 |
83 # For flaky tests retry one time. | 83 # For flaky tests retry one time. No tests at the moment. |
84 @/bin/sh -c "if test -f test.out -a $* = test61; then \ | 84 #@/bin/sh -c "if test -f test.out -a $* = test61; then \ |
85 if diff test.out $*.ok; \ | 85 # if diff test.out $*.ok; \ |
86 then echo flaky test ok first time; \ | 86 # then echo flaky test ok first time; \ |
87 else rm -rf $*.failed $(RM_ON_RUN); \ | 87 # else rm -rf $*.failed $(RM_ON_RUN); \ |
88 $(RUN_VIM) $*.in; \ | 88 # $(RUN_VIM) $*.in; \ |
89 fi \ | 89 # fi \ |
90 fi" | 90 # fi" |
91 | 91 |
92 # Check if the test.out file matches test.ok. | 92 # Check if the test.out file matches test.ok. |
93 @/bin/sh -c "if test -f test.out; then \ | 93 @/bin/sh -c "if test -f test.out; then \ |
94 if diff test.out $*.ok; \ | 94 if diff test.out $*.ok; \ |
95 then mv -f test.out $*.out; \ | 95 then mv -f test.out $*.out; \ |