Commit 7e58d673 authored by Glenn Morris's avatar Glenn Morris
Browse files

Try to fix some flymake-tests weirdness

* test/automated/flymake-tests.el (flymake-tests--current-face):
Sleep for longer.  Avoid querying.
parent f51e7ac3
2014-06-25 Glenn Morris <rgm@gnu.org>
* automated/flymake-tests.el (flymake-tests--current-face):
Sleep for longer. Avoid querying.
2014-06-25 Dmitry Antipov <dmantipov@yandex.ru>
* automated/fns-tests.el (fns-tests-compare-string): New test.
......
......@@ -40,10 +40,15 @@
(goto-char (point-min))
(flymake-mode 1)
;; XXX: is this reliable enough?
;; By experiment, no it is not!
;; For some reason, a single (sleep-for 1.0) does nothing here,
;; but 2 * (sleep-for 0.5) works.
;; FIXME what is going on...?
(sleep-for (+ 0.5 flymake-no-changes-timeout))
(sleep-for (+ 0.5 flymake-no-changes-timeout))
(flymake-goto-next-error)
(face-at-point))
(and buffer (kill-buffer buffer)))))
(and buffer (let (kill-buffer-query-functions) (kill-buffer buffer))))))
(ert-deftest warning-predicate-rx-gcc ()
"Test GCC warning via regexp predicate."
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment