]> git.eshelyaron.com Git - emacs.git/commitdiff
Skip rather than fail in flymake tests
authorGlenn Morris <rgm@gnu.org>
Wed, 19 Dec 2018 23:37:04 +0000 (18:37 -0500)
committerGlenn Morris <rgm@gnu.org>
Wed, 19 Dec 2018 23:37:04 +0000 (18:37 -0500)
* 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.

test/lisp/progmodes/flymake-tests.el

index bba1f12e6915c52ac73cf808b7a578be8528da80..ef1fd19e86c46e5c5467fa0de1f37785186d3a98 100644 (file)
@@ -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)))))