[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/hyperbole 3328d6e 3/5: Prevent tests not running on Mac
From: |
ELPA Syncer |
Subject: |
[elpa] externals/hyperbole 3328d6e 3/5: Prevent tests not running on Macs when under Emacs dumb terminal |
Date: |
Sun, 5 Dec 2021 17:57:20 -0500 (EST) |
branch: externals/hyperbole
commit 3328d6e129237524032d869ce17317c0824c8a73
Author: Bob Weiner <rsw@gnu.org>
Commit: Bob Weiner <rsw@gnu.org>
Prevent tests not running on Macs when under Emacs dumb terminal
---
ChangeLog | 6 ++++++
test/demo-tests.el | 2 ++
2 files changed, 8 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 372f857..8e3c125 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2021-12-05 Bob Weiner <rsw@gnu.org>
+
+* test/demo-tests.el (demo-smart-scrolling-proportional-test): Fails when run
+ under an Emacs dumb terminal in batch mode, so only run interactively.
+
+* hibtypes.el (grep-msg, ripgrep-msg): Allow for ${emacs-lisp-var} with : in
its name
2021-11-28 Bob Weiner <rsw@gnu.org>
* hbut.el (ibut:to-name): Move to the start of the name of a given implicit
diff --git a/test/demo-tests.el b/test/demo-tests.el
index 16ff37a..fa7ad80 100644
--- a/test/demo-tests.el
+++ b/test/demo-tests.el
@@ -70,6 +70,7 @@
;; Smart scrolling
(ert-deftest demo-smart-scrolling-proportional-test ()
+ (skip-unless (not noninteractive))
(unwind-protect
(progn
(hypb:display-file-with-logo (expand-file-name "DEMO" hyperb:dir))
@@ -80,6 +81,7 @@
(pos (point)))
(end-of-line)
(action-key)
+ (sit-for 2)
(should (= pos (window-start)))))
(kill-buffer "DEMO")))