Test failure in test_popupwin

18 views
Skip to first unread message

Christian Brabandt

unread,
Jul 24, 2019, 5:34:04 PM7/24/19
to vim...@vim.org
Bram,
when running the testsuite, I see the following error for
test_popupwin.vim:


Screenshot: https://i.imgur.com/1OEnpP5.png

1 FAILED:
Found errors in Test_popup_select():
Run 1:
function RunTheTest[40]..Test_popup_select[26]..VerifyScreenDump line 55: See dump file difference: call term_dumpdiff("testdir/failed/Test_popupwin_select_01.dump", "testdir/dumps/Test_popupwin_select_01.dump"); difference in line 4: "|4| @7|║+0#0000001#ffd7ff255|t|h|e|
─|w|o|r|d| @9|║| +0#0000000#ffffff0@45"; difference in line 5: "|5| @7|║+0#0000001#ffd7ff255|s|o|m|e| |m|o|r|e| @8|║| +0#0000000#ffffff0@45"; difference in line 6: "|6| @7|║+0#0000001#ffd7ff255|s|e|v|e|r|a|l| |w|o|r|d|s| |h|e|r|e|║| +0#0000000#ffffff0@45"
function RunTheTest[40]..Test_popup_select[33]..VerifyScreenDump line 55: See dump file difference: call term_dumpdiff("testdir/failed/Test_popupwin_select_02.dump", "testdir/dumps/Test_popupwin_select_02.dump"); difference in line 1: ">1+0&#ffffff0| @73"; difference in l
─ine 2: "|2| @73"; difference in line 3: "|3| @73"; difference in line 4: "|4| @73"; difference in line 5: "|5| @73"; difference in line 6: "|6| @73"; difference in line 7: "|7| @73"; difference in line 8: "|8| @73"; difference in line 9: "|9| @73"; difference in line 10:
─ "@57|1|,|1| @10|T|o|p| "
Run 2:
function RunTheTest[40]..Test_popup_select[26]..VerifyScreenDump line 55: See dump file difference: call term_dumpdiff("testdir/failed/Test_popupwin_select_01.dump", "testdir/dumps/Test_popupwin_select_01.dump"); difference in line 4: "|4| @7|║+0#0000001#ffd7ff255|t|h|e|
─|w|o|r|d| @9|║| +0#0000000#ffffff0@45"; difference in line 5: "|5| @7|║+0#0000001#ffd7ff255|s|o|m|e| |m|o|r|e| @8|║| +0#0000000#ffffff0@45"; difference in line 6: "|6| @7|║+0#0000001#ffd7ff255|s|e|v|e|r|a|l| |w|o|r|d|s| |h|e|r|e|║| +0#0000000#ffffff0@45"
function RunTheTest[40]..Test_popup_select[33]..VerifyScreenDump line 55: See dump file difference: call term_dumpdiff("testdir/failed/Test_popupwin_select_02.dump", "testdir/dumps/Test_popupwin_select_02.dump"); difference in line 1: ">1+0&#ffffff0| @73"; difference in l
─ine 2: "|2| @73"; difference in line 3: "|3| @73"; difference in line 4: "|4| @73"; difference in line 5: "|5| @73"; difference in line 6: "|6| @73"; difference in line 7: "|7| @73"; difference in line 8: "|8| @73"; difference in line 9: "|9| @73"; difference in line 10:
─ "@57|1|,|1| @10|T|o|p| "
Flaky test failed too often, giving up

It looks like the (visual) highlighting wasn't removed. Anything that could cause this?


Best,
Christian
--
Hallo Kakaotrinker!

Christian Brabandt

unread,
Jul 24, 2019, 5:38:19 PM7/24/19
to vim...@vim.org
Ah, the highlighting should be there, while it isn't. I wonder if this
could happen because this is run in a putty environment, where the mouse
does not actually work. However, it looks like this is the only test
failure, although there are other tests which use test_setmouse.


Best,
Christian
--
Stürmt und schneit's Silvester nicht, ist das Neujahr auch in Sicht.

Bram Moolenaar

unread,
Jul 25, 2019, 5:04:35 PM7/25/19
to vim...@googlegroups.com, Christian Brabandt, vim...@vim.org
The other way around: The modeless selection doesn't show. It is
selected with some tricky mouse events. But it appears to work in most
places. Any idea what is different about this system? Ah, you mention
putty. I also had it fail on an ssh connection. Perhaps it's because
in the terminal window mouse dragging is not activated.

--
ARTHUR: Be quiet! I order you to shut up.
OLD WOMAN: Order, eh -- who does he think he is?
ARTHUR: I am your king!
OLD WOMAN: Well, I didn't vote for you.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

/// Bram Moolenaar -- Br...@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 ///

Christian Brabandt

unread,
Jul 26, 2019, 3:14:33 PM7/26/19
to vim...@googlegroups.com, vim...@vim.org

On Do, 25 Jul 2019, Bram Moolenaar wrote:

> The other way around: The modeless selection doesn't show. It is
> selected with some tricky mouse events. But it appears to work in most
> places. Any idea what is different about this system? Ah, you mention
> putty. I also had it fail on an ssh connection. Perhaps it's because
> in the terminal window mouse dragging is not activated.

So is there any way to detect whether mouse selection should work?

Best,
Christian
--
Philosoph:
Mensch, der sich bei saurer Milch damit tröstet, daß sie zu vier
Fünfteln aus Wasser besteht.
Reply all
Reply to author
Forward
0 new messages