From 4733ff1925f8be66d711b432cd2d9b32c47524a6 Mon Sep 17 00:00:00 2001 From: Benson Chu Date: Mon, 5 Dec 2022 19:00:18 -0600 Subject: [PATCH] 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 fc59ea73a..3f1ea94fc 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)