From ac4bfe1f8ff03b55252c7df21aba142a5136aada Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simen=20Endsj=C3=B8?= Date: Mon, 11 Mar 2024 18:44:06 +0100 Subject: [PATCH 1/2] test-package should return failed/passed --- src/doctest.lisp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/doctest.lisp b/src/doctest.lisp index 28d37fe..f592d73 100644 --- a/src/doctest.lisp +++ b/src/doctest.lisp @@ -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) From 066191fc448fb69eb088afe1fd9a07e7eef06987 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simen=20Endsj=C3=B8?= Date: Mon, 11 Mar 2024 18:45:52 +0100 Subject: [PATCH 2/2] Bump from 0.3 to 0.3.1 --- CHANGELOG.org | 9 +++++++++ sijo-doctest.asd | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.org b/CHANGELOG.org index 93d9f85..7872363 100644 --- a/CHANGELOG.org +++ b/CHANGELOG.org @@ -4,6 +4,15 @@ All notable changes to this project will be documented in this file. The format is based on [[https://keepachangelog.com/en/1.1.0][Keep a Changelog]], and this project *DOES NOT* adhere to [[https://semver.org/spec/v2.0.0.html][Semantic Versioning]]. +** [[https://github.com/simendsjo/sijo-doctest/compare/v0.3..v0.3.1][0.3.1]] - 2024-03-11 +*** Added +*** Changed +*** Deprecated +*** Removed +*** Fixed +- ~test-package~ return failed/passed, not just ~nil~ +*** Security + ** [[https://github.com/simendsjo/sijo-doctest/compare/v0.2..v0.3][0.3.0]] - 2024-03-11 *** Added - Support Embedded Common Lisp (ECL) diff --git a/sijo-doctest.asd b/sijo-doctest.asd index 60f8fc3..5c32ee6 100644 --- a/sijo-doctest.asd +++ b/sijo-doctest.asd @@ -1,7 +1,7 @@ (defsystem :sijo-doctest :in-order-to ((test-op (test-op :sijo-doctest/tests))) :description "Doctests for Common Lisp" - :version "0.3" + :version "0.3.1" :author "Johan Lindberg (Pulp Software) , Simen Endsjø " :licence "GPL" :serial t