summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrian Leung <leungbk@mailfence.com>2019-09-25 21:16:33 +0200
committerBrian Leung <leungbk@mailfence.com>2019-09-26 06:47:39 +0200
commite745dd119a3ba2d5b9475f79ef515758e0bc684a (patch)
treeca1548ec3e08dbd564ef75ce16ed83a95b3aa38e
parenteee9277ba510dda6b63075831e88515fb1306cf6 (diff)
downloadguix-e745dd119a3ba2d5b9475f79ef515758e0bc684a.tar.gz
gnu: emacs-websocket: Enable some tests.
* gnu/packages/emacs-xyz.scm (emacs-websocket): Enable some tests.
-rw-r--r--gnu/packages/emacs-xyz.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 7ae3702593..f4e0df0202 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -9965,6 +9965,12 @@ database of references on life sciences.")
         (base32
          "1dgrf7na6r6mmkknphzshlbd5fnzisg0qn0j7vfpa38wgsymaq52"))))
     (build-system emacs-build-system)
+    (arguments
+     `(#:tests? #t
+       ;; TODO: also enable websocket-functional-test.el
+       #:test-command '("emacs" "--batch"
+                        "-l" "websocket-test.el"
+                        "-f" "ert-run-tests-batch-and-exit")))
     (home-page "http://elpa.gnu.org/packages/websocket.html")
     (synopsis "Emacs WebSocket client and server")
     (description "This is an Elisp library for WebSocket clients to talk to