Skip to content

Commit

Permalink
test-package should return failed/passed
Browse files Browse the repository at this point in the history
  • Loading branch information
simendsjo committed Mar 11, 2024
1 parent 152fd9a commit ac4bfe1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/doctest.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,8 @@
(when (eq *package* (symbol-package symbol))
(multiple-value-bind (tests-failed tests-passed) (test symbol :output output)
(incf total-failed tests-failed)
(incf total-passed tests-passed)))))))
(incf total-passed tests-passed)))))
(values total-failed total-passed)))

(defun print-results (test-name test-type output tests-failed tests-passed)
(when (> tests-failed 0)
Expand Down

0 comments on commit ac4bfe1

Please sign in to comment.