summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2020-12-25 21:19:37 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2020-12-25 21:19:37 +0100
commite1eabc8ee114a171107e892a3ad1437a9d18069e (patch)
tree6f2d1646116e43759977eb0c0ee79fa10f82a4f3
parentc9fb3474c9d596675d3ae53d7db59264424c7eb3 (diff)
downloademacs-e1eabc8ee114a171107e892a3ad1437a9d18069e.tar.gz
Disable some semantic tests on systems without g++
* test/lisp/cedet/semantic-utest-ia.el: Disable g++ tests on systems without g++.
-rw-r--r--test/lisp/cedet/semantic-utest-ia.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/lisp/cedet/semantic-utest-ia.el b/test/lisp/cedet/semantic-utest-ia.el
index c99ef97b509..ea1a7790985 100644
--- a/test/lisp/cedet/semantic-utest-ia.el
+++ b/test/lisp/cedet/semantic-utest-ia.el
@@ -86,6 +86,7 @@
(should-not (semantic-ia-utest tst))))
(ert-deftest semantic-utest-ia-nsp.cpp ()
+ (skip-unless (executable-find "g++"))
(let ((tst (expand-file-name "testnsp.cpp" semantic-utest-test-directory)))
(should (file-exists-p tst))
(should-not (semantic-ia-utest tst))))
@@ -96,6 +97,7 @@
(should-not (semantic-ia-utest tst))))
(ert-deftest semantic-utest-ia-namespace.cpp ()
+ (skip-unless (executable-find "g++"))
(let ((tst (expand-file-name "testnsp.cpp" semantic-utest-test-directory)))
(should (file-exists-p tst))
(should-not (semantic-ia-utest tst))))