summaryrefslogtreecommitdiff
path: root/test/Makefile.in
diff options
context:
space:
mode:
authorKen Brown <kbrown@cornell.edu>2023-03-25 16:37:51 -0400
committerKen Brown <kbrown@cornell.edu>2023-03-26 10:04:59 -0400
commit45b16bfb496025d9f21f7cdccb6a25a0be83a26f (patch)
tree2d9c24761e176d16fab3dfcd16b60918aebe04a7 /test/Makefile.in
parent8b4a494d8d4413ae6d566f6478f84e319aeaacdd (diff)
downloademacs-45b16bfb496025d9f21f7cdccb6a25a0be83a26f.tar.gz
Skip failing tests on Cygwin with native compilation (bug#62450)
* test/Makefile.in (TEST_NATIVE_COMP): New variable, used to determine whether to run tests tagged with :nativecomp. Set it to "no" on Cygwin and to $(HAVE_NATIVE_COMP) otherwise. * test/lisp/emacs-lisp/benchmark-tests.el (benchmark-tests): Skip on Cygwin with native-compilation.
Diffstat (limited to 'test/Makefile.in')
-rw-r--r--test/Makefile.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/test/Makefile.in b/test/Makefile.in
index fd21695f5bc..e8edf7739b7 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -124,7 +124,14 @@ test_module_dir := src/emacs-module-resources
all: check
-ifeq ($(HAVE_NATIVE_COMP),yes)
+SYSTEM_TYPE = @SYSTEM_TYPE@
+TEST_NATIVE_COMP = $(HAVE_NATIVE_COMP)
+# Avoid fork failures on Cygwin. See bug#62450 and etc/PROBLEMS
+# ("Fork failures in a build with native compilation").
+ifeq ($(SYSTEM_TYPE),cygwin)
+TEST_NATIVE_COMP = no
+endif
+ifeq ($(TEST_NATIVE_COMP),yes)
SELECTOR_DEFAULT = (not (or (tag :expensive-test) (tag :unstable)))
SELECTOR_EXPENSIVE = (not (tag :unstable))
SELECTOR_ALL = t