diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2023-12-18 23:57:45 -0500 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2024-01-04 16:33:25 -0500 |
commit | fe0f15dbc962b37d98507a494fd7720bad584a7a (patch) | |
tree | 6af07cc55e42b35083134019fb157b533a34b504 /test/lisp/emacs-lisp/find-func-tests.el | |
parent | 7959a63ce258c90eb3c7947ab3318c5531eb37d9 (diff) | |
download | emacs-fe0f15dbc962b37d98507a494fd7720bad584a7a.tar.gz emacs-fe0f15dbc962b37d98507a494fd7720bad584a7a.tar.bz2 emacs-fe0f15dbc962b37d98507a494fd7720bad584a7a.zip |
ert.el: Use `handler-bind` to record backtraces
* lisp/emacs-lisp/ert.el (ert--should-signal-hook): Delete function.
(ert--expand-should-1): Don't bind `signal-hook-function`.
(ert--test-execution-info): Remove `next-debugger` slot.
(ert--run-test-debugger): Adjust to new calling convention.
Pass the `:backtrace-base` info to the debugger.
(ert--run-test-internal): Use `handler-bind` rather than let-binding
`debugger` and `debug-on-error`.
* lisp/emacs-lisp/ert-x.el (ert-remote-temporary-file-directory): Don't
use `defconst` if it's not meant to stay constant (e.g. we let-bind it
in tramp-tests.el).
Diffstat (limited to 'test/lisp/emacs-lisp/find-func-tests.el')
0 files changed, 0 insertions, 0 deletions