Skip to content

Commit

Permalink
Merge pull request #5 from 40ants/handle-serious-error
Browse files Browse the repository at this point in the history
Now run-tests catches SERIOUS-CONDITION instead of ERROR and prevents…
  • Loading branch information
svetlyak40wt authored May 14, 2024
2 parents 793ddbc + 7972bd7 commit db3975e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
5 changes: 5 additions & 0 deletions changelog.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@

(defchangelog (:ignore-words ("CLISP"
"CFFI"
"ERROR"
"SERIOUS-CONDITION"
"ECL"
"FFI"))
(2.3.0 2024-05-13 "
* Now run-tests catches SERIOUS-CONDITION instead of ERROR and prevents handing of tests in the interactive prompt and timeouts on ECL.")
(2.2.0 2024-01-30 "
* Shell, used to run all commands was changed from bash to `lispsh -eo pipefail {0}`. This fixes runner for Windows.
* Documentation builder workflow switched from `actions/checkout@v3` to `v4` version.")
Expand Down
7 changes: 4 additions & 3 deletions run-tests.ros
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,10 @@ exec ros -Q -- $0 "$@"

(unwind-protect
(handler-bind
((error (lambda (condition)
(trivial-backtrace:print-backtrace condition)
(uiop:quit 3))))
((serious-condition
(lambda (condition)
(trivial-backtrace:print-backtrace condition)
(uiop:quit 3))))
(when (or (null system)
(string= system ""))
(format *error-output*
Expand Down

0 comments on commit db3975e

Please sign in to comment.