summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/benchmark-tests.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2023-03-27 17:16:59 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2023-03-27 17:16:59 -0400
commit47bce04e875bdaf4a9e2bb33dc14794d373b676f (patch)
treed13dae0c30b300e332292f6fb8fd2ce13b500889 /test/lisp/emacs-lisp/benchmark-tests.el
parent2b4e14e3abd5be08ee2a4e832b5dbe8172869e24 (diff)
parent0337131bfa194856234ddfe70ee38b3165d66289 (diff)
downloademacs-47bce04e875bdaf4a9e2bb33dc14794d373b676f.tar.gz
Merge from origin/emacs-29
0337131bfa1 Update to Transient v0.3.7-218-g3dbb22a a8c23677d39 Update to Org 9.6.2 45b16bfb496 Skip failing tests on Cygwin with native compilation (bug... 8b4a494d8d4 Fix GNUSTEP tests on EMBA # Conflicts: # test/infra/gitlab-ci.yml
Diffstat (limited to 'test/lisp/emacs-lisp/benchmark-tests.el')
-rw-r--r--test/lisp/emacs-lisp/benchmark-tests.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/lisp/emacs-lisp/benchmark-tests.el b/test/lisp/emacs-lisp/benchmark-tests.el
index 31357f24a0d..99b5b142c37 100644
--- a/test/lisp/emacs-lisp/benchmark-tests.el
+++ b/test/lisp/emacs-lisp/benchmark-tests.el
@@ -23,6 +23,10 @@
(require 'ert)
(ert-deftest benchmark-tests ()
+ ;; Avoid fork failures on Cygwin. See bug#62450 and etc/PROBLEMS
+ ;; ("Fork failures in a build with native compilation").
+ (skip-unless (not (and (eq system-type 'cygwin)
+ (featurep 'native-compile))))
(let (str t-long t-short m)
(should (consp (benchmark-run nil (setq m (1+ 0)))))
(should (consp (benchmark-run 1 (setq m (1+ 0)))))