|
Karsten Hopp |
20bac1 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
20bac1 |
Subject: Patch 7.2.015
|
|
Karsten Hopp |
20bac1 |
Fcc: outbox
|
|
Karsten Hopp |
20bac1 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
20bac1 |
Mime-Version: 1.0
|
|
Karsten Hopp |
20bac1 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
20bac1 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
20bac1 |
------------
|
|
Karsten Hopp |
20bac1 |
|
|
Karsten Hopp |
20bac1 |
Patch 7.2.015
|
|
Karsten Hopp |
20bac1 |
Problem: "make all test install" doesn't stop when the test fails. (Daniel
|
|
Karsten Hopp |
20bac1 |
Shahaf)
|
|
Karsten Hopp |
20bac1 |
Solution: When test.log contains failures exit with non-zero status.
|
|
Karsten Hopp |
20bac1 |
Files: src/testdir/Makefile
|
|
Karsten Hopp |
20bac1 |
|
|
Karsten Hopp |
20bac1 |
|
|
Karsten Hopp |
20bac1 |
*** ../vim-7.2.014/src/testdir/Makefile Wed Jun 25 00:22:53 2008
|
|
Karsten Hopp |
20bac1 |
--- src/testdir/Makefile Sun Sep 7 21:31:49 2008
|
|
Karsten Hopp |
20bac1 |
***************
|
|
Karsten Hopp |
20bac1 |
*** 26,40 ****
|
|
Karsten Hopp |
20bac1 |
|
|
Karsten Hopp |
20bac1 |
.SUFFIXES: .in .out
|
|
Karsten Hopp |
20bac1 |
|
|
Karsten Hopp |
20bac1 |
! nongui: nolog $(SCRIPTS)
|
|
Karsten Hopp |
20bac1 |
! @echo
|
|
Karsten Hopp |
20bac1 |
! @cat test.log
|
|
Karsten Hopp |
20bac1 |
! @echo ALL DONE
|
|
Karsten Hopp |
20bac1 |
|
|
Karsten Hopp |
20bac1 |
! gui: nolog $(SCRIPTS) $(SCRIPTS_GUI)
|
|
Karsten Hopp |
20bac1 |
@echo
|
|
Karsten Hopp |
20bac1 |
! @cat test.log
|
|
Karsten Hopp |
20bac1 |
! @echo ALL DONE
|
|
Karsten Hopp |
20bac1 |
|
|
Karsten Hopp |
20bac1 |
$(SCRIPTS) $(SCRIPTS_GUI): $(VIMPROG)
|
|
Karsten Hopp |
20bac1 |
|
|
Karsten Hopp |
20bac1 |
--- 26,42 ----
|
|
Karsten Hopp |
20bac1 |
|
|
Karsten Hopp |
20bac1 |
.SUFFIXES: .in .out
|
|
Karsten Hopp |
20bac1 |
|
|
Karsten Hopp |
20bac1 |
! nongui: nolog $(SCRIPTS) report
|
|
Karsten Hopp |
20bac1 |
!
|
|
Karsten Hopp |
20bac1 |
! gui: nolog $(SCRIPTS) $(SCRIPTS_GUI) report
|
|
Karsten Hopp |
20bac1 |
|
|
Karsten Hopp |
20bac1 |
! report:
|
|
Karsten Hopp |
20bac1 |
@echo
|
|
Karsten Hopp |
20bac1 |
! @echo 'Test results:'
|
|
Karsten Hopp |
20bac1 |
! @/bin/sh -c "if test -f test.log; \
|
|
Karsten Hopp |
20bac1 |
! then cat test.log; echo TEST FAILURE; exit 1; \
|
|
Karsten Hopp |
20bac1 |
! else echo ALL DONE; \
|
|
Karsten Hopp |
20bac1 |
! fi"
|
|
Karsten Hopp |
20bac1 |
|
|
Karsten Hopp |
20bac1 |
$(SCRIPTS) $(SCRIPTS_GUI): $(VIMPROG)
|
|
Karsten Hopp |
20bac1 |
|
|
Karsten Hopp |
20bac1 |
***************
|
|
Karsten Hopp |
20bac1 |
*** 71,74 ****
|
|
Karsten Hopp |
20bac1 |
test60.out: test60.vim
|
|
Karsten Hopp |
20bac1 |
|
|
Karsten Hopp |
20bac1 |
nolog:
|
|
Karsten Hopp |
20bac1 |
! -echo Test results: >test.log
|
|
Karsten Hopp |
20bac1 |
--- 73,76 ----
|
|
Karsten Hopp |
20bac1 |
test60.out: test60.vim
|
|
Karsten Hopp |
20bac1 |
|
|
Karsten Hopp |
20bac1 |
nolog:
|
|
Karsten Hopp |
20bac1 |
! -rm -f test.log
|
|
Karsten Hopp |
20bac1 |
*** ../vim-7.2.014/src/version.c Wed Sep 10 15:38:13 2008
|
|
Karsten Hopp |
20bac1 |
--- src/version.c Wed Sep 10 18:23:38 2008
|
|
Karsten Hopp |
20bac1 |
***************
|
|
Karsten Hopp |
20bac1 |
*** 678,679 ****
|
|
Karsten Hopp |
20bac1 |
--- 678,681 ----
|
|
Karsten Hopp |
20bac1 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
20bac1 |
+ /**/
|
|
Karsten Hopp |
20bac1 |
+ 15,
|
|
Karsten Hopp |
20bac1 |
/**/
|
|
Karsten Hopp |
20bac1 |
|
|
Karsten Hopp |
20bac1 |
--
|
|
Karsten Hopp |
20bac1 |
Light travels faster than sound. This is why some people
|
|
Karsten Hopp |
20bac1 |
appear bright until you hear them speak
|
|
Karsten Hopp |
20bac1 |
|
|
Karsten Hopp |
20bac1 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
20bac1 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
20bac1 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
20bac1 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|