bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#38813: Make comint-tests more robust


From: Michael Albinus
Subject: bug#38813: Make comint-tests more robust
Date: Mon, 30 Dec 2019 16:20:30 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Mattias Engdegård <mattiase@acm.org> writes:

> There seem to be races in the new comint-tests; they frequently hang
> and/or fail when run (make check) on macOS.
> This patch should improve matters. OK for emacs-27?

> -            (accept-process-output proc 0 1 t)
> +            (accept-process-output proc 0 100 t)
> +            (accept-process-output proc 0 100 t)

The usual pattern is (while (accept-process-output proc 0 nil t))
That's what I do in tramp-tests.el

Best regards, Michael.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]