From: Juanma Barranquero Date: Mon, 2 Nov 2015 17:08:52 +0000 (+0100) Subject: flymake-tests.el (warning-predicate-rx-gcc): Fix check. X-Git-Tag: emacs-25.0.90~934 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1cd0e89ab93b4e27d2b55332649558f044b6c6b5;p=emacs.git 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". --- diff --git a/test/automated/flymake-tests.el b/test/automated/flymake-tests.el index a77c31638a5..11231bc3f7a 100644 --- a/test/automated/flymake-tests.el +++ b/test/automated/flymake-tests.el @@ -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"))))