diff options
| -rw-r--r-- | test/README | 4 | ||||
| -rw-r--r-- | test/infra/gitlab-ci.yml | 5 |
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 | |||
| 33 | directory. If you call make from Emacs' root directory, use "make -C | 33 | directory. If you call make from Emacs' root directory, use "make -C |
| 34 | test" instead. | 34 | test" instead. |
| 35 | 35 | ||
| 36 | Running several tests in parallel could result in unexpected side | ||
| 37 | effects with ephemeral test errors. Therefore, it is recommend not to | ||
| 38 | use "make -j". | ||
| 39 | |||
| 36 | The Makefile sets the environment variable $EMACS_TEST_DIRECTORY, | 40 | The Makefile sets the environment variable $EMACS_TEST_DIRECTORY, |
| 37 | which points to this directory. This environment variable does not | 41 | which points to this directory. This environment variable does not |
| 38 | exist when the tests are run outside make. The Makefile supports the | 42 | exist 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 |