[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 51c8369: Run secrets suite test when Emacs has dbus
From: |
Tino Calancha |
Subject: |
[Emacs-diffs] master 51c8369: Run secrets suite test when Emacs has dbus support |
Date: |
Thu, 5 Apr 2018 20:03:07 -0400 (EDT) |
branch: master
commit 51c8369fa2b7dac9e609431ddbc86765ad1ea9b4
Author: Tino Calancha <address@hidden>
Commit: Tino Calancha <address@hidden>
Run secrets suite test when Emacs has dbus support
* test/lisp/net/secrets-tests.el (secrets-test00-availability)
(secrets-test01-sessions, secrets-test02-collections)
(secrets-test03-items, secrets-test04-search): Skip test
unless Emacs is compiled with dbus support.
---
test/lisp/net/secrets-tests.el | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/test/lisp/net/secrets-tests.el b/test/lisp/net/secrets-tests.el
index dc9c7f1..352a7c3 100644
--- a/test/lisp/net/secrets-tests.el
+++ b/test/lisp/net/secrets-tests.el
@@ -28,6 +28,7 @@
(ert-deftest secrets-test00-availability ()
"Test availability of Secret Service API."
+ (skip-unless (featurep 'dbusbind))
:expected-result (if secrets-enabled :passed :failed)
(should secrets-enabled)
(should (dbus-ping :session secrets-service))
@@ -58,6 +59,7 @@
(ert-deftest secrets-test01-sessions ()
"Test opening / closing a secrets session."
+ (skip-unless (featurep 'dbusbind))
(skip-unless secrets-enabled)
(skip-unless (secrets-empty-path secrets-session-path))
@@ -83,6 +85,7 @@
(ert-deftest secrets-test02-collections ()
"Test creation / deletion a secrets collections."
+ (skip-unless (featurep 'dbusbind))
(skip-unless secrets-enabled)
(skip-unless (secrets-empty-path secrets-session-path))
@@ -144,6 +147,7 @@
(ert-deftest secrets-test03-items ()
"Test creation / deletion a secret item."
+ (skip-unless (featurep 'dbusbind))
(skip-unless secrets-enabled)
(skip-unless (secrets-empty-path secrets-session-path))
@@ -185,6 +189,7 @@
(ert-deftest secrets-test04-search ()
"Test searching of secret items."
+ (skip-unless (featurep 'dbusbind))
(skip-unless secrets-enabled)
(skip-unless (secrets-empty-path secrets-session-path))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 51c8369: Run secrets suite test when Emacs has dbus support,
Tino Calancha <=