7ef95b0
To: vim-dev@vim.org
7ef95b0
Subject: Patch 7.2.022 (extra)
7ef95b0
Fcc: outbox
7ef95b0
From: Bram Moolenaar <Bram@moolenaar.net>
7ef95b0
Mime-Version: 1.0
7ef95b0
Content-Type: text/plain; charset=ISO-8859-1
7ef95b0
Content-Transfer-Encoding: 8bit
7ef95b0
------------
7ef95b0
7ef95b0
Patch 7.2.022 (extra)
7ef95b0
Problem:    Testing is not possible when compiling with MingW.
7ef95b0
Solution:   Add a MingW specific test Makefile. (Bill McCarthy)
7ef95b0
Files:	    Filelist, src/testdir/Make_ming.mak
7ef95b0
7ef95b0
7ef95b0
*** ../vim-7.2.021/Filelist	Sun Jul 13 19:33:31 2008
7ef95b0
--- Filelist	Sun Sep 14 21:47:01 2008
7ef95b0
***************
7ef95b0
*** 285,290 ****
7ef95b0
--- 285,291 ----
7ef95b0
  		src/proto/os_win32.pro \
7ef95b0
  		src/proto/os_mswin.pro \
7ef95b0
  		src/testdir/Make_dos.mak \
7ef95b0
+ 		src/testdir/Make_ming.mak \
7ef95b0
  		src/testdir/dos.vim \
7ef95b0
  		src/uninstal.c \
7ef95b0
  		src/vim.def \
7ef95b0
*** ../vim-7.2.021/src/testdir/Make_ming.mak	Sat Sep 20 16:25:06 2008
7ef95b0
--- src/testdir/Make_ming.mak	Sat Sep 20 16:25:58 2008
7ef95b0
***************
7ef95b0
*** 0 ****
7ef95b0
--- 1,91 ----
7ef95b0
+ # Makefile to run tests for Vim, on Dos-like machines
7ef95b0
+ # with sh.exe or zsh.exe in the path or not.
7ef95b0
+ #
7ef95b0
+ # Author: Bill McCarthy
7ef95b0
+ #
7ef95b0
+ # Note that test54 has been removed until it is fixed.
7ef95b0
+ #
7ef95b0
+ # Requires a set of Unix tools: echo, diff, etc.
7ef95b0
+ 
7ef95b0
+ ifneq (sh.exe, $(SHELL))
7ef95b0
+ DEL = rm -f
7ef95b0
+ MV = mv
7ef95b0
+ CP = cp
7ef95b0
+ DIRSLASH = /
7ef95b0
+ else
7ef95b0
+ DEL = del
7ef95b0
+ MV = rename
7ef95b0
+ CP = copy
7ef95b0
+ DIRSLASH = \\
7ef95b0
+ endif
7ef95b0
+ 
7ef95b0
+ VIMPROG = ..$(DIRSLASH)vim
7ef95b0
+ 
7ef95b0
+ # Omitted:
7ef95b0
+ # test2		"\\tmp" doesn't work.
7ef95b0
+ # test10	'errorformat' is different
7ef95b0
+ # test12	can't unlink a swap file
7ef95b0
+ # test25	uses symbolic link
7ef95b0
+ # test27	can't edit file with "*" in file name
7ef95b0
+ # test31	16 bit version runs out of memory...
7ef95b0
+ 
7ef95b0
+ SCRIPTS16 =	test1.out test19.out test20.out test22.out \
7ef95b0
+ 		test23.out test24.out test28.out test29.out \
7ef95b0
+ 		test35.out test36.out test43.out \
7ef95b0
+ 		test44.out test45.out test46.out test47.out \
7ef95b0
+ 		test48.out test51.out test53.out            \
7ef95b0
+ 		test55.out test56.out test57.out test58.out test59.out \
7ef95b0
+ 		test60.out test61.out test62.out test63.out test64.out
7ef95b0
+ 
7ef95b0
+ # Had to remove test54 which doesn't work yet.
7ef95b0
+ #		                                 test54.out
7ef95b0
+ 
7ef95b0
+ SCRIPTS =	test3.out test4.out test5.out test6.out test7.out \
7ef95b0
+ 		test8.out test9.out test11.out test13.out test14.out \
7ef95b0
+ 		test15.out test17.out test18.out test21.out test26.out \
7ef95b0
+ 		test30.out test31.out test32.out test33.out test34.out \
7ef95b0
+ 		test37.out test38.out test39.out test40.out test41.out \
7ef95b0
+ 		test42.out test52.out test65.out
7ef95b0
+ 
7ef95b0
+ SCRIPTS32 =	test50.out
7ef95b0
+ 
7ef95b0
+ SCRIPTS_GUI = test16.out
7ef95b0
+ 
7ef95b0
+ .SUFFIXES: .in .out
7ef95b0
+ 
7ef95b0
+ vimall:	fixff $(SCRIPTS16) $(SCRIPTS) $(SCRIPTS_GUI) $(SCRIPTS32)
7ef95b0
+ 	echo ALL DONE
7ef95b0
+ 
7ef95b0
+ nongui:	fixff $(SCRIPTS16) $(SCRIPTS)
7ef95b0
+ 	echo ALL DONE
7ef95b0
+ 
7ef95b0
+ small:
7ef95b0
+ 	echo ALL DONE
7ef95b0
+ 
7ef95b0
+ gui:	fixff $(SCRIPTS16) $(SCRIPTS) $(SCRIPTS_GUI)
7ef95b0
+ 	echo ALL DONE
7ef95b0
+ 
7ef95b0
+ win32:	fixff $(SCRIPTS16) $(SCRIPTS) $(SCRIPTS32)
7ef95b0
+ 	echo ALL DONE
7ef95b0
+ 
7ef95b0
+ fixff:
7ef95b0
+ 	-$(VIMPROG) -u dos.vim --noplugin "+argdo set ff=dos|upd" +q *.in *.ok
7ef95b0
+ 
7ef95b0
+ clean:
7ef95b0
+ 	-$(DEL) *.out
7ef95b0
+ 	-$(DEL) test.ok
7ef95b0
+ 	-$(DEL) small.vim
7ef95b0
+ 	-$(DEL) tiny.vim
7ef95b0
+ 	-$(DEL) mbyte.vim
7ef95b0
+ 	-$(DEL) X*
7ef95b0
+ 	-$(DEL) viminfo
7ef95b0
+ 
7ef95b0
+ .in.out:
7ef95b0
+ 	$(CP) $*.ok test.ok
7ef95b0
+ 	$(VIMPROG) -u dos.vim -U NONE --noplugin -s dotest.in $*.in
7ef95b0
+ 	diff test.out $*.ok
7ef95b0
+ 	-$(DEL) $*.out
7ef95b0
+ 	$(MV) test.out $*.out
7ef95b0
+ 	-$(DEL) X*
7ef95b0
+ 	-$(DEL) test.ok
7ef95b0
+ 	-$(DEL) viminfo
7ef95b0
*** ../vim-7.2.021/src/version.c	Thu Sep 18 21:29:07 2008
7ef95b0
--- src/version.c	Sat Sep 20 16:25:16 2008
7ef95b0
***************
7ef95b0
*** 678,679 ****
7ef95b0
--- 678,681 ----
7ef95b0
  {   /* Add new patch number below this line */
7ef95b0
+ /**/
7ef95b0
+     22,
7ef95b0
  /**/
7ef95b0
7ef95b0
-- 
7ef95b0
Where do you want to crash today?
7ef95b0
7ef95b0
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
7ef95b0
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
7ef95b0
\\\        download, build and distribute -- http://www.A-A-P.org        ///
7ef95b0
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///