Michael Soyka wrote:

> On 12/4/2015 5:27 PM, Bram Moolenaar wrote:
> > Michael Soyka wrote:
> >
> >> On 12/3/2015 4:13 PM, Bram Moolenaar wrote:
> >>> I have added "new style" testing for Unix.  It appears to work well, so
> >>> now we also need this for other platforms.  The Unix Makefile only
> >>> needed a few extra lines, hopefully it's also simple for others.
> >>>
> >>> I would prefer someone who knows the platform to make a patch for this.
> >>> We need this for:
> >>>   src/testdir/Make_dos.mak
> >>>           src/testdir/Make_ming.mak
> >>>
> >>> And if someone still has one of these systems:
> >>>   src/testdir/Make_amiga.mak
> >>>   src/testdir/Make_os2.mak
> >>>           src/testdir/Make_vms.mms
> >>>
> >> Bram,
> >>
> >> Since I've been dabbling in things ming lately, I'm willing to give it
> >> shot.  What information do I need?
> > Look in src/testdir/Makefile for how "newtests" is defined.
> > I assume that the MingW make works pretty much like the Unix one.
> >
> Bram,
> 
> I've updated the mingw makefile using your changes to the unix makefile 
> as a guide.  I've attached the complete modified file and show the diffs 
> below.

Nice, thanks.

> I ran the newtests using gvim and both tests passed.  However, a popup 
> window with an OK button is displayed at the conclusion of each test.  
> This happens whether the test passes or fails.  The tester must press 
> the OK button to continue to the next test.  Is this desirable?  By the 
> way, the popup looks like one put up by the confirm function.

There should be no popup window.  Please find a way to avoid it.
I could not reproduce this on Linux when testing with gvim.

> Because of the popups, I've added an if-test at the end of the makefile 
> to display the test status in the terminal window.
> 
> I added the "newtests" targets to all the test targets in the makefile- 
> gui, nongui, and the others.  In effect, I've made the assumption that 
> the new tests will never be intended for gvim testing exclusively.  If 
> this is not correct, changes are in order.

The tests should run together with the "old" tests.

> Just to be clear, I'm using mingw under Windows.
> 
> Thanks for the opportunity to help,

Thanks for looking into this!

-- 
hundred-and-one symptoms of being an internet addict:
197. Your desk collapses under the weight of your computer peripherals.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui