summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2015-11-02 18:08:52 +0100
committerJuanma Barranquero <lekktu@gmail.com>2015-11-02 18:16:54 +0100
commit1cd0e89ab93b4e27d2b55332649558f044b6c6b5 (patch)
treeeb557dd112d3b65f1e07f492217719e2bbecdbe1
parenta9cdc4a23c9ba93095cb6595972cbe2fde450e2c (diff)
downloademacs-1cd0e89ab93b4e27d2b55332649558f044b6c6b5.tar.gz
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".
-rw-r--r--test/automated/flymake-tests.el2
1 files changed, 1 insertions, 1 deletions
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"))))