aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2026-01-11 10:21:12 +0100
committerMichael Albinus2026-01-11 10:21:12 +0100
commit1bc8e61df480cbf45e401baf2e81a62093e6d2a2 (patch)
treefb4e13d1dad00e1b3fa8e9eeba67b2b17eed566a
parent0e4a8ae1faaa399c422f0bc6c073f72fd0014eb6 (diff)
downloademacs-1bc8e61df480cbf45e401baf2e81a62093e6d2a2.tar.gz
emacs-1bc8e61df480cbf45e401baf2e81a62093e6d2a2.zip
Don't use "make -j" when running tests
* test/infra/gitlab-ci.yml (.job-template): * test/README: Don't use "make -j".
-rw-r--r--test/README4
-rw-r--r--test/infra/gitlab-ci.yml5
2 files changed, 6 insertions, 3 deletions
diff --git a/test/README b/test/README
index d897e9e2c8b..a287ae69734 100644
--- a/test/README
+++ b/test/README
@@ -33,6 +33,10 @@ The following examples expect this directory as the current working
33directory. If you call make from Emacs' root directory, use "make -C 33directory. If you call make from Emacs' root directory, use "make -C
34test" instead. 34test" instead.
35 35
36Running several tests in parallel could result in unexpected side
37effects with ephemeral test errors. Therefore, it is recommend not to
38use "make -j".
39
36The Makefile sets the environment variable $EMACS_TEST_DIRECTORY, 40The Makefile sets the environment variable $EMACS_TEST_DIRECTORY,
37which points to this directory. This environment variable does not 41which points to this directory. This environment variable does not
38exist when the tests are run outside make. The Makefile supports the 42exist when the tests are run outside make. The Makefile supports the
diff --git a/test/infra/gitlab-ci.yml b/test/infra/gitlab-ci.yml
index 1f0f33bbe86..23af677d186 100644
--- a/test/infra/gitlab-ci.yml
+++ b/test/infra/gitlab-ci.yml
@@ -90,7 +90,6 @@ default:
90 -e EMACS_TEST_JUNIT_REPORT=${EMACS_TEST_JUNIT_REPORT} 90 -e EMACS_TEST_JUNIT_REPORT=${EMACS_TEST_JUNIT_REPORT}
91 -e EMACS_TEST_TIMEOUT=${EMACS_TEST_TIMEOUT} 91 -e EMACS_TEST_TIMEOUT=${EMACS_TEST_TIMEOUT}
92 -e EMACS_TEST_VERBOSE=${EMACS_TEST_VERBOSE} 92 -e EMACS_TEST_VERBOSE=${EMACS_TEST_VERBOSE}
93 -e NPROC=`nproc`
94 -e http_proxy=${http_proxy} 93 -e http_proxy=${http_proxy}
95 -e https_proxy=${https_proxy} 94 -e https_proxy=${https_proxy}
96 -e no_proxy=${no_proxy} 95 -e no_proxy=${no_proxy}
@@ -104,8 +103,8 @@ default:
104 git diff --name-only FETCH_HEAD && 103 git diff --name-only FETCH_HEAD &&
105 ( git diff --name-only FETCH_HEAD | 104 ( git diff --name-only FETCH_HEAD |
106 xargs git checkout -f FETCH_HEAD ) && 105 xargs git checkout -f FETCH_HEAD ) &&
107 make -j \$NPROC && 106 make &&
108 make -k -j \$NPROC ${make_params}"' 107 make -k ${make_params}"'
109 after_script: 108 after_script:
110 # - docker ps -a 109 # - docker ps -a
111 # - pwd; printenv 110 # - pwd; printenv