mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-14 07:20:35 -08:00
Don't use "make -j" when running tests
* test/infra/gitlab-ci.yml (.job-template): * test/README: Don't use "make -j".
This commit is contained in:
parent
0e4a8ae1fa
commit
1bc8e61df4
2 changed files with 6 additions and 3 deletions
|
|
@ -33,6 +33,10 @@ The following examples expect this directory as the current working
|
|||
directory. If you call make from Emacs' root directory, use "make -C
|
||||
test" instead.
|
||||
|
||||
Running several tests in parallel could result in unexpected side
|
||||
effects with ephemeral test errors. Therefore, it is recommend not to
|
||||
use "make -j".
|
||||
|
||||
The Makefile sets the environment variable $EMACS_TEST_DIRECTORY,
|
||||
which points to this directory. This environment variable does not
|
||||
exist when the tests are run outside make. The Makefile supports the
|
||||
|
|
|
|||
|
|
@ -90,7 +90,6 @@ default:
|
|||
-e EMACS_TEST_JUNIT_REPORT=${EMACS_TEST_JUNIT_REPORT}
|
||||
-e EMACS_TEST_TIMEOUT=${EMACS_TEST_TIMEOUT}
|
||||
-e EMACS_TEST_VERBOSE=${EMACS_TEST_VERBOSE}
|
||||
-e NPROC=`nproc`
|
||||
-e http_proxy=${http_proxy}
|
||||
-e https_proxy=${https_proxy}
|
||||
-e no_proxy=${no_proxy}
|
||||
|
|
@ -104,8 +103,8 @@ default:
|
|||
git diff --name-only FETCH_HEAD &&
|
||||
( git diff --name-only FETCH_HEAD |
|
||||
xargs git checkout -f FETCH_HEAD ) &&
|
||||
make -j \$NPROC &&
|
||||
make -k -j \$NPROC ${make_params}"'
|
||||
make &&
|
||||
make -k ${make_params}"'
|
||||
after_script:
|
||||
# - docker ps -a
|
||||
# - pwd; printenv
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue