aboutsummaryrefslogtreecommitdiffstats
path: root/java/debug.sh
diff options
context:
space:
mode:
authorStefan Kangas2023-09-03 18:45:16 +0200
committerStefan Kangas2023-09-04 18:25:18 +0200
commit62f7760e61900b6ac0fb513294129130446b17e7 (patch)
treeb59a0647398589c394e5b0ab60db815529701d53 /java/debug.sh
parentf9b43107ce706f351dcb88d1a4af1b3ffd9671c5 (diff)
downloademacs-62f7760e61900b6ac0fb513294129130446b17e7.tar.gz
emacs-62f7760e61900b6ac0fb513294129130446b17e7.zip
Add `skip-when` macro to `ert-deftest`
This can help avoid some awkward test skip conditions. For example, this triple negation: (skip-unless (not noninteractive)) Can be written as the simpler: (skip-when noninteractive) * lisp/emacs-lisp/ert.el (ert-deftest): Add new 'skip-when' macro. (ert--skip-when): New internal function. * doc/misc/ert.texi (Tests and Their Environment): Document above new macro. * test/lisp/emacs-lisp/ert-tests.el (ert-test-skip-when): New test.
Diffstat (limited to 'java/debug.sh')
0 files changed, 0 insertions, 0 deletions