]> git.eshelyaron.com Git - emacs.git/commitdiff
Adapt emba control files
authorMichael Albinus <michael.albinus@gmx.de>
Tue, 12 Oct 2021 16:53:54 +0000 (18:53 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Tue, 12 Oct 2021 16:53:54 +0000 (18:53 +0200)
* test/infra/Dockerfile.emba: Print core pattern.

* test/infra/gitlab-ci.yml (.job-template, .test-template):
Improve wildcard.
(.job-template): Add timeout.

test/infra/Dockerfile.emba
test/infra/gitlab-ci.yml

index c129bc8be87638512b515feabc9323bde32a4814..e62a55e7a53359321b143e8a979b0ba401d60d21 100644 (file)
@@ -26,6 +26,7 @@
 
 FROM debian:stretch as emacs-base
 
+RUN cat /proc/sys/kernel/core_pattern
 RUN apt-get update && \
     apt-get install -y --no-install-recommends -o=Dpkg::Use-Pty=0 \
       libc-dev gcc g++ make autoconf automake libncurses-dev gnutls-dev \
index 532d333e343e9072af64c623c573527109ecb88e..15327b00281c97f8712cdc5e631ec4cf85908609 100644 (file)
@@ -75,11 +75,11 @@ default:
         - autogen.sh
         - configure.ac
         - lib/*.{h,c}
-        - lisp/**/*.el
+        - lisp/**.el
         - src/*.{h,c}
         - test/infra/*
         - test/lib-src/*.el
-        - test/lisp/**/*.el
+        - test/lisp/**.el
         - test/src/*.el
     - changes:
         # gfilemonitor, kqueue
@@ -107,7 +107,7 @@ default:
     # TODO: with make -j4 several of the tests were failing, for
     # example shadowfile-tests, but passed without it.
     - 'export PWD=$(pwd)'
-    - 'docker run -i -e EMACS_EMBA_CI=${EMACS_EMBA_CI} --volumes-from $(docker ps -q -f "label=com.gitlab.gitlab-runner.job.id=${CI_JOB_ID}"):ro --name ${test_name} ${CI_REGISTRY_IMAGE}:${target}-${BUILD_TAG} /bin/bash -c "git fetch ${PWD} HEAD && echo checking out these updated files && git diff --name-only FETCH_HEAD && ( git diff --name-only FETCH_HEAD | xargs git checkout -f FETCH_HEAD ) && make -j4 && make ${make_params}"'
+    - 'docker run -i -e EMACS_EMBA_CI=${EMACS_EMBA_CI} --volumes-from $(docker ps -q -f "label=com.gitlab.gitlab-runner.job.id=${CI_JOB_ID}"):ro --name ${test_name} ${CI_REGISTRY_IMAGE}:${target}-${BUILD_TAG} /bin/bash -c "git fetch ${PWD} HEAD && echo checking out these updated files && git diff --name-only FETCH_HEAD && ( git diff --name-only FETCH_HEAD | xargs git checkout -f FETCH_HEAD ) && make -j4 && timeout 3600s make ${make_params}"'
   after_script:
     # - docker ps -a
     # - printenv
@@ -146,8 +146,6 @@ default:
     - docker push ${CI_REGISTRY_IMAGE}:${target}-${BUILD_TAG}
 
 .test-template:
-  # Do not block later stages.
-  # allow_failure: true
   # Do not run fast and normal test jobs when scheduled.
   rules:
     - if: '$CI_JOB_STAGE =~ "fast|normal" && $CI_PIPELINE_SOURCE == "schedule"'
@@ -158,7 +156,7 @@ default:
     public: true
     expire_in: 1 week
     paths:
-      - "${test_name}/**/*.log"
+      - "**.log"
 
 .gnustep-template:
   rules: