emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 0880d5f: * test/automated/process-tests.el: Skip te


From: Juanma Barranquero
Subject: [Emacs-diffs] master 0880d5f: * test/automated/process-tests.el: Skip tests when bash is not available
Date: Thu, 05 Nov 2015 18:47:56 +0000

branch: master
commit 0880d5f6e1ad5006a022416cd21b974c7f5923b9
Author: Juanma Barranquero <address@hidden>
Commit: Juanma Barranquero <address@hidden>

    * test/automated/process-tests.el: Skip tests when bash is not available
    
    (process-test-sentinel-accept-process-output)
    (process-test-sentinel-sit-for): skip-unless bash executable found.
---
 test/automated/process-tests.el |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/test/automated/process-tests.el b/test/automated/process-tests.el
index 4a43a01..ee9e4f3 100644
--- a/test/automated/process-tests.el
+++ b/test/automated/process-tests.el
@@ -43,10 +43,12 @@
     sentinel-called))
 
 (ert-deftest process-test-sentinel-accept-process-output ()
+  (skip-unless (executable-find "bash"))
   (should (process-test-sentinel-wait-function-working-p
            #'accept-process-output)))
 
 (ert-deftest process-test-sentinel-sit-for ()
+  (skip-unless (executable-find "bash"))
   (should
    (process-test-sentinel-wait-function-working-p (lambda () (sit-for 0.01 
t)))))
 



reply via email to

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