]> git.eshelyaron.com Git - emacs.git/commitdiff
Disable some semantic tests on systems without g++
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 25 Dec 2020 20:19:37 +0000 (21:19 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 25 Dec 2020 20:19:37 +0000 (21:19 +0100)
* test/lisp/cedet/semantic-utest-ia.el: Disable g++ tests on
systems without g++.

test/lisp/cedet/semantic-utest-ia.el

index c99ef97b509ecf60a6efb5b59ec972a836622eac..ea1a77909853a0b87bf69be31f5b30fb572a2d16 100644 (file)
@@ -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))))