diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2021-12-29 16:06:32 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-12-29 16:06:32 +0100 |
commit | 918ed4904bdbb976a40b006c8874795756dce6a7 (patch) | |
tree | 3a487b305ecdb5a28911cc8e191475da01013d85 /test/lisp/emacs-lisp | |
parent | fb386e22e129f77bbb2d9faa757cf5bc4f5d90e1 (diff) | |
download | emacs-918ed4904bdbb976a40b006c8874795756dce6a7.tar.gz emacs-918ed4904bdbb976a40b006c8874795756dce6a7.tar.bz2 emacs-918ed4904bdbb976a40b006c8874795756dce6a7.zip |
Adjust multi-test-files-simple test for Windows
* test/lisp/emacs-lisp/multisession-tests.el
(multi-test-files-simple): Adjust test to Emacs timestamp
resolution on Windows.
Diffstat (limited to 'test/lisp/emacs-lisp')
-rw-r--r-- | test/lisp/emacs-lisp/multisession-tests.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/lisp/emacs-lisp/multisession-tests.el b/test/lisp/emacs-lisp/multisession-tests.el index f1dbbb29fd1..6618699c4df 100644 --- a/test/lisp/emacs-lisp/multisession-tests.el +++ b/test/lisp/emacs-lisp/multisession-tests.el @@ -130,6 +130,9 @@ "" :synchronized t) (cl-incf (multisession-value multisession--sfoo)))))) + ;; On Windows, we don't have sub-second resolution. + (when (memq system-type '(windows-nt haiku)) + (sleep-for 2)) (should (= (multisession-value multisession--sfoo) 2))))) (ert-deftest multi-test-files-busy () |