1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 14:30:50 -08:00
emacs/test/lisp/emacs-lisp
Stefan Monnier 25ea99c211 Fix ert-tests.el for the new handler-bind code
Now that `ert.el` uses `handler-bind` instead of `debugger`, some
details of the behavior have changed.  More specifically,
three tests are now broken, but these basically tested the failure
of ERT's machinery to record errors when ERT was run within
a `condition-case`.
AFAICT, these tests do not check for a behavior that we want,
so rather than "fix" them, I deleted them (bug#67862).

* test/lisp/emacs-lisp/ert-tests.el (ert-test-error-debug)
(ert-test-fail-debug-with-condition-case): Delete.
(ert-test-should-failure-debugging): Don't use `ert-debug-on-error`.
(ert-test-with-demoted-errors): It now passes.  Bug#11218 is fixed!
2024-01-04 16:34:13 -05:00
..
bytecomp-resources Move lexical-binding warning from checkdoc to byte-compiler 2023-10-21 15:12:55 +02:00
edebug-resources ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
eieio-tests Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
ert-font-lock-resources Add ert-font-lock 2023-12-03 15:17:58 +02:00
faceup-resources ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
faceup-tests ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
macroexp-resources ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
package-resources ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
pp-resources
shadow-resources
testcover-resources ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
backquote-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
backtrace-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
benchmark-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
bindat-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
byte-run-tests.el ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
bytecomp-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
cconv-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
check-declare-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
checkdoc-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
cl-extra-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
cl-generic-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
cl-lib-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
cl-macs-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
cl-preloaded-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
cl-print-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
cl-seq-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
comp-cstr-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
comp-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
copyright-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
derived-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
easy-mmode-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
edebug-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
ert-font-lock-tests.el ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
ert-tests.el Fix ert-tests.el for the new handler-bind code 2024-01-04 16:34:13 -05:00
ert-x-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
find-func-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
float-sup-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
generator-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
gv-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
hierarchy-tests.el
icons-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
let-alist-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
lisp-mnt-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
lisp-mode-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
lisp-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
macroexp-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
map-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
memory-report-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
multisession-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
nadvice-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
oclosure-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
package-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
pcase-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
pp-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
range-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
regexp-opt-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
ring-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
rmc-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
rx-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
seq-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
shadow-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
shortdoc-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
subr-x-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
syntax-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
tabulated-list-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
testcover-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
text-property-search-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
thunk-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
timer-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
unsafep-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
vtable-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
warnings-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00