Christian wrote:

> On Sa, 14 Apr 2018, Bram Moolenaar wrote:
> 
> > Patch 8.0.1714
> > Problem:    Term_setsize() does not give an error in a normal buffer.
> > Solution:   Add an error message.
> > Files:      src/terminal.c, src/testdir/test_terminal.vim
> 
> That test failed for the win32-installer daily build:
> https://ci.appveyor.com/project/chrisbra/vim-win32-installer/build/job/47ah9tf2g71v99ug
>
> ,----
> | From test_terminal.vim:
> | Found errors in Test_terminal_scrollback():
> | Caught exception in Test_terminal_scrollback(): WaitFor() timed out after 
> 5000 msec @ function RunTheTest[38]..Test_terminal_scrollback[10]..WaitFor, 
> line 25
> | TEST FAILURE 
> | NMAKE : fatal error U1077: 'if' : return code '0x1'
> | Stop.
> | Command exited with code 1
> `----

Not sure what might cause this.  Can you reproduce it when running it
directly?

> There were other failures for that test in Travis CI:
> https://api.travis-ci.org/v3/job/366587007/log.txt
> https://api.travis-ci.org/v3/job/366587010/log.txt
> https://api.travis-ci.org/v3/job/366587015/log.txt
> ,----
> | From test_terminal.vim:
> | Found errors in Test_terminal_scrollback():
> | function RunTheTest[38]..Test_terminal_scrollback line 12: Expected True 
> but got 0
> `----
> 
> Perhaps that test is flaky?

I made an off-by-one mistake, maybe fixing that helps.
I'll also use assert_inrange() to be able to see what the actual value
is.

-- 
hundred-and-one symptoms of being an internet addict:
181. You make up words that go with the "happy tune" your modem makes
     while dialing your ISP.

 /// Bram Moolenaar -- b...@moolenaar.net -- 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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui