Elimar Riesebieter wrote:

> * Elimar Riesebieter <[email protected]> [2019-07-02 12:41 +0200]:
> 
>  Building vim-8.1.1616 ATHENA variant on ppc32 (linux) euns smooth
>  but there is a test failure:
>  
>  Failures:
>          From test_diffmode.vim:
>          Found errors in Test_diff_screen():
>          Run 1:
>          function 
> RunTheTest[40]..Test_diff_screen[112]..VerifyInternal[4]..VerifyScreenDump 
> line 55: See dump file difference: call 
> term_dumpdiff("testdir/failed/Test_diff_17.dump", 
> "testdir/dumps/Test_diff_17.dump"); difference in line 1: "| 
> +0#0000e05#a8a8a8255@1>a+0#0000000#ffffff0| @33||+1&&| 
> +0#0000e05#a8a8a8255@1|a+0#0000000#ffffff0| @33"; difference in line 4: "| 
> +0#0000e05#a8a8a8255@1|-+0#4040ff13#afffff255@34||+1#0000000#ffffff0| 
> +0#0000e05#a8a8a8255@1| +0#0000000#5fd7ff255@34"; difference in line 5: "| 
> +0#0000e05#a8a8a8255@1|e+0#0000000#ffffff0|f| @32||+1&&| 
> +0#0000e05#a8a8a8255@1|e+0#0000000#ffffff0|f| @32"; difference in line 6: "| 
> +0#0000e05#a8a8a8255@1|x+2#0000000#ff404010@2| +0&#ffd7ff255@31||+1&#ffffff0| 
> +0#0000e05#a8a8a8255@1|y+2#0000000#ff404010@2| +0&#ffd7ff255@31"; difference 
> in line 20: "|"+0&&|X|f|i|l|e|2|"| |5|L|,| |1|3|C| @58"

It looks like the command to set 'diffopt' did not arrive.
I cannot reproduce.
Can you try adding a term_wait() call in VerifyInternal() in
src/testdir/test_diffmode.vim:

" Verify a screendump with the internal diff only.
func VerifyInternal(buf, dumpfile, extra)
  call term_sendkeys(a:buf, ":diffupdate!\<CR>")
  " trailing : for leaving the cursor on the command line
  call term_sendkeys(a:buf, ":set diffopt=internal,filler" . a:extra . "\<CR>:")
  call term_wait(a:buf)
  call VerifyScreenDump(a:buf, a:dumpfile, {})
endfunc


-- 
       "To whoever finds this note -
       I have been imprisoned by my father who wishes me to marry
       against my will.  Please please please please come and rescue me.
       I am in the tall tower of Swamp Castle."
   SIR LAUNCELOT's eyes light up with holy inspiration.
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// 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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/201907031940.x63JeZpO005549%40masaka.moolenaar.net.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui