]> git.eshelyaron.com Git - emacs.git/commitdiff
flymake-tests.el (warning-predicate-rx-gcc): Fix check.
authorJuanma Barranquero <lekktu@gmail.com>
Mon, 2 Nov 2015 17:08:52 +0000 (18:08 +0100)
committerJuanma Barranquero <lekktu@gmail.com>
Mon, 2 Nov 2015 17:16:54 +0000 (18:16 +0100)
* test/automated/flymake-tests.el (warning-predicate-rx-gcc):
Also check that "make" is available, not just "gcc".

test/automated/flymake-tests.el

index a77c31638a591ac44d4227eb8f3b80a418647a47..11231bc3f7a2e03e80f55ecf73de0da56bbfeb83 100644 (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"))))