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.
This commit is contained in:
parent
fb386e22e1
commit
918ed4904b
1 changed files with 3 additions and 0 deletions
|
@ -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 ()
|
||||
|
|
Loading…
Add table
Reference in a new issue