emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/bash-completion d65f7e018d 118/313: Skip integration tests


From: ELPA Syncer
Subject: [nongnu] elpa/bash-completion d65f7e018d 118/313: Skip integration tests if /bin/bash is not executable.
Date: Sat, 3 Dec 2022 10:59:22 -0500 (EST)

branch: elpa/bash-completion
commit d65f7e018df7e83068f742a52440a69961597152
Author: Stephane Zermatten <stephane@boomer.local>
Commit: Stephane Zermatten <stephane@boomer.local>

    Skip integration tests if /bin/bash is not executable.
---
 bash-completion-test.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/bash-completion-test.el b/bash-completion-test.el
index f4f68ad1df..5f6d0707a3 100644
--- a/bash-completion-test.el
+++ b/bash-completion-test.el
@@ -632,6 +632,7 @@ garbage
          (kill-buffer shell-buffer))))))
 
 (ert-deftest bash-completion-interaction-test ()
+  (skip-unless (file-executable-p bash-completion-prog))
   (should (equal
           '(nil t t ("help ") "t\n" nil nil)
           (bash-completion_test-harness
@@ -651,6 +652,7 @@ garbage
             (bash-completion-is-running))))))
 
 (ert-deftest bash-completion-setenv-test ()
+  (skip-unless (file-executable-p bash-completion-prog))
   (should (equal
           "t\n"
           (bash-completion_test-harness
@@ -659,12 +661,14 @@ garbage
              (buffer-string))))))
 
 (ert-deftest bash-completion-one-completion-test ()
+  (skip-unless (file-executable-p bash-completion-prog))
   (should (equal '(16 ("__bash_complete_wrapper "
                       ;; TODO: again, why is this duplicated?
                       "__bash_complete_wrapper "))
                 (bash-completion_test-with-shell "__bash_complete_"))))
 
 (ert-deftest bash-completion-wordbreak-completion-test ()
+  (skip-unless (file-executable-p bash-completion-prog))
   (should (equal '(3 ("/bin/"))
                 (bash-completion_test-with-shell "export PATH=/sbin:/bi"))))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]