diff options
author | Michael Albinus <michael.albinus@gmx.de> | 2021-07-01 13:43:44 +0200 |
---|---|---|
committer | Michael Albinus <michael.albinus@gmx.de> | 2021-07-01 13:43:44 +0200 |
commit | 527bab054f285cde9d7f792c932c40ddcce74590 (patch) | |
tree | fac1a0092e3824f229bde2e6ac3c67c3f86559d4 /lisp/emacs-lisp | |
parent | 1a7c8f846eb8cccf1d2439f8b03a171b1b6bd104 (diff) | |
download | emacs-527bab054f285cde9d7f792c932c40ddcce74590.tar.gz emacs-527bab054f285cde9d7f792c932c40ddcce74590.tar.bz2 emacs-527bab054f285cde9d7f792c932c40ddcce74590.zip |
Handle test environment variables
* lisp/emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit):
Check also for EMACS_EMBA_CI.
* test/README (SELECTOR): Mention EMACS_TEST_VERBOSE.
* test/infra/gitlab-ci.yml (variables): Set EMACS_TEST_VERBOSE.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/ert.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/emacs-lisp/ert.el b/lisp/emacs-lisp/ert.el index 50b45092ca8..92acfe7246f 100644 --- a/lisp/emacs-lisp/ert.el +++ b/lisp/emacs-lisp/ert.el @@ -1552,7 +1552,7 @@ Ran \\([0-9]+\\) tests, \\([0-9]+\\) results as expected\ (when badtests (message "%d files did not finish:" (length badtests)) (mapc (lambda (l) (message " %s" l)) badtests) - (if (getenv "EMACS_HYDRA_CI") + (if (or (getenv "EMACS_HYDRA_CI") (getenv "EMACS_EMBA_CI")) (with-temp-buffer (dolist (f badtests) (erase-buffer) @@ -1568,8 +1568,8 @@ Ran \\([0-9]+\\) tests, \\([0-9]+\\) results as expected\ (setq tests (sort tests (lambda (x y) (> (car x) (car y))))) (when (< high (length tests)) (setcdr (nthcdr (1- high) tests) nil)) (message "%s" (mapconcat #'cdr tests "\n"))) - ;; More details on hydra, where the logs are harder to get to. - (when (and (getenv "EMACS_HYDRA_CI") + ;; More details on hydra and emba, where the logs are harder to get to. + (when (and (or (getenv "EMACS_HYDRA_CI") (getenv "EMACS_EMBA_CI")) (not (zerop (+ nunexpected nskipped)))) (message "\nDETAILS") (message "-------") |