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 / 6.1.023 < prev    next >
Encoding:
Internet Message Format  |  2002-04-20  |  6.3 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.1.023 (extra)
  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 6.1.023 (extra)
  11. Problem:    VMS: running tests doesn't work properly.
  12. Solution:   Adjust the makefile. (Zoltan Arpadffy)
  13. Files:        src/testdir/Make_vms.mms
  14.  
  15.  
  16. *** ../vim61.022/src/testdir/Make_vms.mms    Tue May 15 12:01:33 2001
  17. --- src/testdir/Make_vms.mms    Tue Apr  9 19:36:19 2002
  18. ***************
  19. *** 1,18 ****
  20.   #
  21.   # Makefile to run all tests for Vim on VMS
  22.   #
  23. ! # Authors:    Zoltan Arpadffy, <arpadffy@altavista.net>
  24. ! #        Sandor Kopanyi,  <sandor.kopanyi@altavista.net>
  25.   #
  26. ! # Last change:  2001 May 15
  27.   #
  28.   # This has been tested on VMS 6.2 to 7.2 on DEC Alpha and VAX.
  29.   # Edit the lines in the Configuration section below to select.
  30.   #
  31.   # Execute with:
  32.   #        mms/descrip=Make_vms.mms
  33. ! #               or
  34. ! #        mmk/descrip=Make_vms.mms
  35.   #
  36.   # NOTE: You can run this script just in X/Window environment. It will
  37.   # create a new terminals, therefore you have to set up your DISPLAY
  38. --- 1,20 ----
  39.   #
  40.   # Makefile to run all tests for Vim on VMS
  41.   #
  42. ! # Authors:    Zoltan Arpadffy, <arpadffy@polarfox.com>
  43. ! #        Sandor Kopanyi,  <sandor.kopanyi@mailbox.hu>
  44.   #
  45. ! # Last change:  2002 Apr 08
  46.   #
  47.   # This has been tested on VMS 6.2 to 7.2 on DEC Alpha and VAX.
  48.   # Edit the lines in the Configuration section below to select.
  49.   #
  50.   # Execute with:
  51.   #        mms/descrip=Make_vms.mms
  52. ! # Clean up with:
  53. ! #        mmk/descrip=Make_vms.mms clean
  54. ! #
  55. ! # Make files are MMK compatible.
  56.   #
  57.   # NOTE: You can run this script just in X/Window environment. It will
  58.   # create a new terminals, therefore you have to set up your DISPLAY
  59. ***************
  60. *** 35,45 ****
  61.   
  62.   #######################################################################
  63.   # End of configuration section.
  64. - #
  65.   # Please, do not change anything below without programming experience.
  66.   #######################################################################
  67.   
  68. ! VIMPROG = create/term/wait mc <->vim.exe
  69.   
  70.   .SUFFIXES : .out .in
  71.   
  72. --- 37,46 ----
  73.   
  74.   #######################################################################
  75.   # End of configuration section.
  76.   # Please, do not change anything below without programming experience.
  77.   #######################################################################
  78.   
  79. ! VIMPROG = <->vim.exe
  80.   
  81.   .SUFFIXES : .out .in
  82.   
  83. ***************
  84. *** 72,78 ****
  85.       -@ write sys$output "-----------------------------------------------"
  86.       -@ write sys$output "                "$*" "
  87.       -@ write sys$output "-----------------------------------------------"
  88. !     -@ $(VIMPROG) $(GUI_OPTION) -u vms.vim --noplugin -s dotest.in $*.in
  89.       -@ if "''F$SEARCH("test.out.*")'" .NES. "" then differences test.out $*.ok;
  90.       -@ if "''F$SEARCH("test.out.*")'" .NES. "" then rename test.out $*.out
  91.       -@ if "''F$SEARCH("Xdotest.*")'"  .NES. "" then delete/noconfirm/nolog Xdotest.*.*
  92. --- 73,79 ----
  93.       -@ write sys$output "-----------------------------------------------"
  94.       -@ write sys$output "                "$*" "
  95.       -@ write sys$output "-----------------------------------------------"
  96. !     -@ create/term/wait mcr $(VIMPROG) $(GUI_OPTION) -u vms.vim --noplugin -s dotest.in $*.in
  97.       -@ if "''F$SEARCH("test.out.*")'" .NES. "" then differences test.out $*.ok;
  98.       -@ if "''F$SEARCH("test.out.*")'" .NES. "" then rename test.out $*.out
  99.       -@ if "''F$SEARCH("Xdotest.*")'"  .NES. "" then delete/noconfirm/nolog Xdotest.*.*
  100. ***************
  101. *** 88,98 ****
  102.   
  103.   nolog :
  104.       -@ define sys$output test.log
  105.       -@ write sys$output "-----------------------------------------------"
  106. !     -@ write sys$output "                Test results:"
  107.       -@ write sys$output "-----------------------------------------------"
  108. !     -@ write sys$output "This file has been generated automatically by "
  109. !     -@ write sys$output "MAKE_VMS.MMS with options:"
  110.       -@ write sys$output "   WANT_GUI  = ""$(WANT_GUI)"" "
  111.       -@ write sys$output "   WANT_UNIX = ""$(WANT_UNIX)"" "
  112.       -@ write sys$output "   HAVE_GZIP = ""$(HAVE_GZIP)"" "
  113. --- 89,106 ----
  114.   
  115.   nolog :
  116.       -@ define sys$output test.log
  117. +         -@ write sys$output "-----------------------------------------------"
  118. +         -@ write sys$output "           Standard VIM test cases"
  119. +         -@ write sys$output "-----------------------------------------------"
  120. +         -@ write sys$output " OpenVMS version: ''F$GETSYI("VERSION")'"
  121. +         -@ write sys$output " Vim version:"
  122. +         -@ mcr $(VIMPROG) --version
  123. +         -@ write sys$output " Test date:"
  124. +         -@ show time
  125.       -@ write sys$output "-----------------------------------------------"
  126. !     -@ write sys$output "                Test results"
  127.       -@ write sys$output "-----------------------------------------------"
  128. !     -@ write sys$output "MAKE_VMS.MMS options:"
  129.       -@ write sys$output "   WANT_GUI  = ""$(WANT_GUI)"" "
  130.       -@ write sys$output "   WANT_UNIX = ""$(WANT_UNIX)"" "
  131.       -@ write sys$output "   HAVE_GZIP = ""$(HAVE_GZIP)"" "
  132. ***************
  133. *** 103,107 ****
  134.   clean :
  135.       -@ if "''F$SEARCH("*.out")'"     .NES. "" then delete/noconfirm/nolog *.out.*
  136.       -@ if "''F$SEARCH("test.log")'"  .NES. "" then delete/noconfirm/nolog test.log.*
  137. !     -@ if "''F$SEARCH("Xdotest.*")'" .NES. "" then delete/noconfirm/nolog Xdotest.*.*
  138.       -@ if "''F$SEARCH("*.*_sw*")'"   .NES. "" then delete/noconfirm/nolog *.*_sw*.*
  139. --- 111,115 ----
  140.   clean :
  141.       -@ if "''F$SEARCH("*.out")'"     .NES. "" then delete/noconfirm/nolog *.out.*
  142.       -@ if "''F$SEARCH("test.log")'"  .NES. "" then delete/noconfirm/nolog test.log.*
  143. !         -@ if "''F$SEARCH("Xdotest.*")'" .NES. "" then delete/noconfirm/nolog Xdotest.*.*
  144.       -@ if "''F$SEARCH("*.*_sw*")'"   .NES. "" then delete/noconfirm/nolog *.*_sw*.*
  145. *** ../vim61.022/src/version.c    Sun Apr 21 16:49:39 2002
  146. --- src/version.c    Sun Apr 21 16:56:41 2002
  147. ***************
  148. *** 608,609 ****
  149. --- 608,611 ----
  150.   {   /* Add new patch number below this line */
  151. + /**/
  152. +     23,
  153.   /**/
  154.  
  155. -- 
  156. hundred-and-one symptoms of being an internet addict:
  157. 265. Your reason for not staying in touch with family is that 
  158.      they do not have e-mail addresses. 
  159.  
  160.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  161. ///   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   \\\
  162. \\\           Project leader for A-A-P -- http://www.a-a-p.org           ///
  163.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  164.