File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -511,7 +511,7 @@ mch_inchar(
511511 || interrupted
512512#endif
513513 || wait_time > 0
514- || !did_start_blocking )
514+ || ( wtime < 0 && !did_start_blocking ) )
515515 continue ;
516516
517517 /* no character available or interrupted */
Original file line number Diff line number Diff line change @@ -11,13 +11,15 @@ func Test_client_server()
1111 if cmd == ' '
1212 return
1313 endif
14- if has (' unix' )
14+ if has (' x11' )
15+ if empty ($DISPLAY )
16+ throw ' Skipped: $DISPLAY is not set'
17+ endif
1518 try
1619 call remote_send (' xxx' , ' ' )
1720 catch
1821 if v: exception = ~ ' E240:'
19- " No connection to the X server, give up.
20- return
22+ throw ' Skipped: no connection to the X server'
2123 endif
2224 " ignore other errors
2325 endtry
Original file line number Diff line number Diff line change @@ -118,8 +118,12 @@ func Test_quotestar()
118118
119119 if has (' macunix' )
120120 let skipped = Do_test_quotestar_for_macunix ()
121- elseif ! empty (" $DISPLAY" )
122- let skipped = Do_test_quotestar_for_x11 ()
121+ elseif has (' x11' )
122+ if empty ($DISPLAY )
123+ let skipped = " Test can only run when $DISPLAY is set."
124+ else
125+ let skipped = Do_test_quotestar_for_x11 ()
126+ endif
123127 else
124128 let skipped = " Test is not implemented yet for this platform."
125129 endif
Original file line number Diff line number Diff line change @@ -779,6 +779,10 @@ static char *(features[]) =
779779
780780static int included_patches [] =
781781{ /* Add new patch number below this line */
782+ /**/
783+ 512 ,
784+ /**/
785+ 511 ,
782786/**/
783787 510 ,
784788/**/
You can’t perform that action at this time.
0 commit comments