run-test: add -b as a shorthand for --break-on-failure

This commit is contained in:
Stas Boukarev 2026-02-25 01:31:51 +03:00
parent 5687a4051e
commit 5e6717f7e4
2 changed files with 3 additions and 2 deletions

View file

@ -50,7 +50,8 @@
(error "~@<Invalid evaluator mode: ~A. Must be one ~
of interpret, compile.~@:>"
mode)))))
((string= arg "--break-on-failure")
((or (string= arg "--break-on-failure")
(string= arg "-b"))
(setf *break-on-error* t)
(setf test-util:*break-on-failure* t))
((string= arg "--break-on-expected-failure")

View file

@ -22,7 +22,7 @@ Options:
--evaluator-mode Either compile or interpret. Set the
value of SB-EXT:*EVALUATOR-MODE* while
running tests.
--break-on-failure Break into the debugger when a test fails
--break-on-failure -b Break into the debugger when a test fails
unexpectedly.
--break-on-expected-failure Break into the debugger when any test fails.
--report-skipped-tests Include tests :skipped-on target SBCL in