aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorStefan Monnier2023-03-27 17:16:59 -0400
committerStefan Monnier2023-03-27 17:16:59 -0400
commit47bce04e875bdaf4a9e2bb33dc14794d373b676f (patch)
treed13dae0c30b300e332292f6fb8fd2ce13b500889 /test
parent2b4e14e3abd5be08ee2a4e832b5dbe8172869e24 (diff)
parent0337131bfa194856234ddfe70ee38b3165d66289 (diff)
downloademacs-47bce04e875bdaf4a9e2bb33dc14794d373b676f.tar.gz
emacs-47bce04e875bdaf4a9e2bb33dc14794d373b676f.zip
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')
-rw-r--r--test/Makefile.in9
-rw-r--r--test/infra/gitlab-ci.yml32
-rw-r--r--test/lisp/emacs-lisp/benchmark-tests.el4
3 files changed, 27 insertions, 18 deletions
diff --git a/test/Makefile.in b/test/Makefile.in
index f4b85e7dfe5..e2a14c4dd92 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -124,7 +124,14 @@ test_module_dir := src/emacs-module-resources
124 124
125all: check 125all: check
126 126
127ifeq ($(HAVE_NATIVE_COMP),yes) 127SYSTEM_TYPE = @SYSTEM_TYPE@
128TEST_NATIVE_COMP = $(HAVE_NATIVE_COMP)
129# Avoid fork failures on Cygwin. See bug#62450 and etc/PROBLEMS
130# ("Fork failures in a build with native compilation").
131ifeq ($(SYSTEM_TYPE),cygwin)
132TEST_NATIVE_COMP = no
133endif
134ifeq ($(TEST_NATIVE_COMP),yes)
128SELECTOR_DEFAULT = (not (or (tag :expensive-test) (tag :unstable))) 135SELECTOR_DEFAULT = (not (or (tag :expensive-test) (tag :unstable)))
129SELECTOR_EXPENSIVE = (not (tag :unstable)) 136SELECTOR_EXPENSIVE = (not (tag :unstable))
130SELECTOR_ALL = t 137SELECTOR_ALL = t
diff --git a/test/infra/gitlab-ci.yml b/test/infra/gitlab-ci.yml
index b000f128278..d1fef0187d4 100644
--- a/test/infra/gitlab-ci.yml
+++ b/test/infra/gitlab-ci.yml
@@ -256,24 +256,22 @@ test-eglot:
256 # This is needed in order to get a JUnit test report. 256 # This is needed in order to get a JUnit test report.
257 make_params: '-k -C test check-expensive LOGFILES="lisp/progmodes/eglot-tests.log"' 257 make_params: '-k -C test check-expensive LOGFILES="lisp/progmodes/eglot-tests.log"'
258 258
259# The next two jobs are commented out due to bug#62210. 259build-image-gnustep:
260 260 stage: platform-images
261# build-image-gnustep: 261 extends: [.job-template, .build-template, .gnustep-template]
262# stage: platform-images 262 variables:
263# extends: [.job-template, .build-template, .gnustep-template] 263 target: emacs-gnustep
264# variables:
265# target: emacs-gnustep
266 264
267# test-gnustep: 265test-gnustep:
268# # This tests the GNUstep build process. 266 # This tests the GNUstep build process.
269# stage: platforms 267 stage: platforms
270# extends: [.job-template, .gnustep-template] 268 extends: [.job-template, .gnustep-template]
271# needs: 269 needs:
272# - job: build-image-gnustep 270 - job: build-image-gnustep
273# optional: true 271 optional: true
274# variables: 272 variables:
275# target: emacs-gnustep 273 target: emacs-gnustep
276# make_params: install 274 make_params: install
277 275
278# The next two jobs are commented out due to high workload on 276# The next two jobs are commented out due to high workload on
279# emba.gnu.org. 277# emba.gnu.org.
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 @@
23(require 'ert) 23(require 'ert)
24 24
25(ert-deftest benchmark-tests () 25(ert-deftest benchmark-tests ()
26 ;; Avoid fork failures on Cygwin. See bug#62450 and etc/PROBLEMS
27 ;; ("Fork failures in a build with native compilation").
28 (skip-unless (not (and (eq system-type 'cygwin)
29 (featurep 'native-compile))))
26 (let (str t-long t-short m) 30 (let (str t-long t-short m)
27 (should (consp (benchmark-run nil (setq m (1+ 0))))) 31 (should (consp (benchmark-run nil (setq m (1+ 0)))))
28 (should (consp (benchmark-run 1 (setq m (1+ 0))))) 32 (should (consp (benchmark-run 1 (setq m (1+ 0)))))