home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 7.2 / 7.2.015 < prev    next >
Encoding:
Internet Message Format  |  2008-09-09  |  1.9 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 7.2.015
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=ISO-8859-1
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 7.2.015
  11. Problem:    "make all test install" doesn't stop when the test fails. (Daniel
  12.         Shahaf)
  13. Solution:   When test.log contains failures exit with non-zero status.
  14. Files:        src/testdir/Makefile
  15.  
  16.  
  17. *** ../vim-7.2.014/src/testdir/Makefile    Wed Jun 25 00:22:53 2008
  18. --- src/testdir/Makefile    Sun Sep  7 21:31:49 2008
  19. ***************
  20. *** 26,40 ****
  21.   
  22.   .SUFFIXES: .in .out
  23.   
  24. ! nongui:    nolog $(SCRIPTS)
  25. !     @echo
  26. !     @cat test.log
  27. !     @echo ALL DONE
  28.   
  29. ! gui:    nolog $(SCRIPTS) $(SCRIPTS_GUI)
  30.       @echo
  31. !     @cat test.log
  32. !     @echo ALL DONE
  33.   
  34.   $(SCRIPTS) $(SCRIPTS_GUI): $(VIMPROG)
  35.   
  36. --- 26,42 ----
  37.   
  38.   .SUFFIXES: .in .out
  39.   
  40. ! nongui:    nolog $(SCRIPTS) report
  41. ! gui:    nolog $(SCRIPTS) $(SCRIPTS_GUI) report
  42.   
  43. ! report:
  44.       @echo
  45. !     @echo 'Test results:'
  46. !     @/bin/sh -c "if test -f test.log; \
  47. !         then cat test.log; echo TEST FAILURE; exit 1; \
  48. !         else echo ALL DONE; \
  49. !         fi"
  50.   
  51.   $(SCRIPTS) $(SCRIPTS_GUI): $(VIMPROG)
  52.   
  53. ***************
  54. *** 71,74 ****
  55.   test60.out: test60.vim
  56.   
  57.   nolog:
  58. !     -echo Test results: >test.log
  59. --- 73,76 ----
  60.   test60.out: test60.vim
  61.   
  62.   nolog:
  63. !     -rm -f test.log
  64. *** ../vim-7.2.014/src/version.c    Wed Sep 10 15:38:13 2008
  65. --- src/version.c    Wed Sep 10 18:23:38 2008
  66. ***************
  67. *** 678,679 ****
  68. --- 678,681 ----
  69.   {   /* Add new patch number below this line */
  70. + /**/
  71. +     15,
  72.   /**/
  73.  
  74. -- 
  75. Light travels faster than sound.  This is why some people
  76. appear bright until you hear them speak
  77.  
  78.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  79. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  80. \\\        download, build and distribute -- http://www.A-A-P.org        ///
  81.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  82.