[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/cider 5f16f16154: Don't scale down time for overlay tests
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/cider 5f16f16154: Don't scale down time for overlay tests on MacOS |
Date: |
Sun, 11 Dec 2022 13:58:33 -0500 (EST) |
branch: elpa/cider
commit 5f16f161544e52eaa122d0846fc8ffe05e0d7198
Author: Benson Chu <bensonchu457@gmail.com>
Commit: Bozhidar Batsov <bozhidar@batsov.dev>
Don't scale down time for overlay tests on MacOS
Overlay tests involve testing the timer functionality of overlays, and
require the use of sleep. The tests scale all time-related arguments
by a certain factor to avoid overly inflating test-running
times.
The scaling factor was initially set at 1 order of magnitude slower
than the consistently succeeding value on my machine, but the value is
apparently still too fast for the MacOS test runner, so I have added
MacOS to the list of platforms unsafe to do this optimization for.
---
test/cider-overlay-tests.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/cider-overlay-tests.el b/test/cider-overlay-tests.el
index fc59ea73a5..3f1ea94fc9 100644
--- a/test/cider-overlay-tests.el
+++ b/test/cider-overlay-tests.el
@@ -67,7 +67,7 @@ being set that way"
(defun cider-overlay--safe-to-speed-up-tests ()
(and (<= 28 emacs-major-version)
(not (member system-type
- '(ms-dos windows-nt cygwin)))))
+ '(ms-dos windows-nt cygwin darwin)))))
(describe "cider--make-result-overlay"
:var (overlay-count this-command)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/cider 5f16f16154: Don't scale down time for overlay tests on MacOS,
ELPA Syncer <=