flymake-tests.el (warning-predicate-rx-gcc): Fix check.

* test/automated/flymake-tests.el (warning-predicate-rx-gcc):
Also check that "make" is available, not just "gcc".
This commit is contained in:
Juanma Barranquero 2015-11-02 18:08:52 +01:00
parent a9cdc4a23c
commit 1cd0e89ab9

View file

@ -50,7 +50,7 @@
(ert-deftest warning-predicate-rx-gcc ()
"Test GCC warning via regexp predicate."
(skip-unless (executable-find "gcc"))
(skip-unless (and (executable-find "gcc") (executable-find "make")))
(should (eq 'flymake-warnline
(flymake-tests--current-face "test.c" "^[Ww]arning"))))