Elimar Riesebieter wrote:

> * Elimar Riesebieter <[email protected]> [2015-12-29 14:31 +0100]:
> 
> > * Christian Brabandt <[email protected]> [2015-12-29 13:33 +0100]:
> > 
> > > Hi Elimar!
> > > 
> > > On Di, 29 Dez 2015, Elimar Riesebieter wrote:
> > > 
> > > > As I don't know how the G's in test49.in are working here is a 
> > > > patch against test49.ok.
> > > > 
> > > > Elimar
> > > 
> > > > diff --git a/src/testdir/test49.ok b/src/testdir/test49.ok
> > > > index bf1ceed..5db1a81 100644
> > > > --- a/src/testdir/test49.ok
> > > > +++ b/src/testdir/test49.ok
> > > > @@ -1,4 +1,4 @@
> > > > -Results of test49.vim:
> > > > +
> > > >  *** Test   1: OK (34695)
> > > >  *** Test   2: OK (34695)
> > > >  *** Test   3: OK (1384648195)
> > > 
> > > Are you sure this is correct? test49 works for me correctly.
> > 
> > Yes, checked it on amd64, i386 and ppc.
> 
> v7.4.998 works flawless. No need to patch.

I encountered the problem of the missing header when running tests in
the shadow directory.  Vim does not return to the test49.in file and
puts the r register at the end of some other file.  I noticed this was
the Make_all.mak file.  Not sure why that happens, I guess it relies on
some ordering of files in the directory.

The fix was to go back to the test49.in buffer before putting the
register contents.  I also got rid of the row of "G" commands, these
should not be needed.

test49 is complicated and slow.  Starting a new Vim for every sub-test
should not be needed.  And it doesn't work on anything but Unix.
Hopefully we can rewrite it as a new style test some day.

-- 
Witches prefer brooms: vacuum-cleaners need extension cords!

 /// 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