GNU bug report logs -
#72384
srfi-64: test-end should not clear fail list
Previous Next
Reported by: Tomas Volf <~@wolfsden.cz>
Date: Tue, 30 Jul 2024 19:53:19 UTC
Severity: normal
Done: Tomas Volf <~@wolfsden.cz>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello,
I think I found a bug in (srfi srfi-64) module shipped with GNU Guile.
Reading the specification for test-expect-fail I do not see a mandate to clear
expect-fail list on test-end. test-skip does have such provision, but it is
lacking in the test-expect-fail. Therefore I think current behavior is wrong:
(use-modules (srfi srfi-64))
(test-begin "x")
(test-begin "group1")
(test-expect-fail "test-a")
(test-assert "test-a" #t)
(pk (test-result-kind))
(test-end "group1")
(test-assert "test-a" #t)
(pk (test-result-kind))
(test-end)
Leading to:
;;; (xpass)
;;; (pass)
Have a nice day
Tomas Volf
This bug report was last modified 297 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.