summaryrefslogtreecommitdiff
path: root/test/src/emacs-module-tests.el
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2021-10-11 18:44:28 +0200
committerMichael Albinus <michael.albinus@gmx.de>2021-10-11 18:44:28 +0200
commit2810fe6bfca182e4376d818b5510507d5ff7e1b5 (patch)
treeb7a95296ab41d25c1f34868857dee6629686478f /test/src/emacs-module-tests.el
parentc9a8805ea4cc8748fd21e6dd9ed9cc6fdf3f0871 (diff)
downloademacs-2810fe6bfca182e4376d818b5510507d5ff7e1b5.tar.gz
; * test/src/emacs-module-tests.el: Instrument for bug#50902.
Diffstat (limited to 'test/src/emacs-module-tests.el')
-rw-r--r--test/src/emacs-module-tests.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/src/emacs-module-tests.el b/test/src/emacs-module-tests.el
index 646c7bb2705..9765bb109f6 100644
--- a/test/src/emacs-module-tests.el
+++ b/test/src/emacs-module-tests.el
@@ -32,6 +32,11 @@
(require 'help-fns)
(require 'subr-x)
+;; Catch information for bug#50902.
+(when (getenv "EMACS_EMBA_CI")
+ (start-process-shell-command
+ "*timeout*" nil (format "sleep 60; kill -ABRT %d" (emacs-pid))))
+
(defconst mod-test-emacs
(expand-file-name invocation-name invocation-directory)
"File name of the Emacs binary currently running.")