From: Glenn Morris Date: Wed, 19 Dec 2018 23:37:04 +0000 (-0500) Subject: Skip rather than fail in flymake tests X-Git-Tag: emacs-27.0.90~3952 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7ca9bb7849c47f061f1e887fe1c2de9960654648;p=emacs.git Skip rather than fail in flymake tests * test/lisp/progmodes/flymake-tests.el (flymake-tests--wait-for-backends): Skip rather than fail if backends are slow to respond. This always seems like a temporary system glitch and not something that should be reported as a failure. --- diff --git a/test/lisp/progmodes/flymake-tests.el b/test/lisp/progmodes/flymake-tests.el index bba1f12e691..ef1fd19e86c 100644 --- a/test/lisp/progmodes/flymake-tests.el +++ b/test/lisp/progmodes/flymake-tests.el @@ -53,7 +53,7 @@ while notdone unless noninteractive do (read-event "" nil 0.1) do (sleep-for (+ 0.5 flymake-no-changes-timeout)) - finally (when notdone (ert-fail + finally (when notdone (ert-skip (format "Some backends not reporting yet %s" notdone)))))