a small bug on (srfi :64 testing)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Scheme Libraries |
Fix Released
|
Medium
|
Derick Eddington |
Bug Description
Bug on (srfi :64 testing).
Hi. Thank you for your port.
Your addition of 'source-form is good!.
I found a small bug.
(1) How to reproduce the problem.
(import (rnrs)
(srfi :64))
(test-begin "hello")
(test-end)
(2) Results
% ./mosh work.scm
%%%% Starting test hello
Condition components:
1. &assertion
2. &who who: "assq"
3. &message message: "list required, but got #<unspecified>"
4. &irritants irritants: ()
Exception:
error in raise: returned from non-continuable exception
Stack trace:
1. throw: <subr>
2. (raise c): compiler-
3. assq: <subr>
4. (%test-format-line runner): <unknown location>
5. (%test-end suite-name line-info): <unknown location>
6. (%test-end suite-name line-info): <unknown location>
7. eval: <subr>
8. (dynamic-wind in body out): compiler-
9. (dynamic-wind in body out): compiler-
10. (dynamic-wind in body out): compiler-
11. (<top-level>): <unknown location>
(3) How to fix
On test-runner-reset procedure,
set the initial value for test-result-alist to '().
(define (test-runner-reset runner)
+ (test-result-alist! runner '())
(test-
(test-
(test-
Cheers.
-----
Taro Minowa(Higepon)
http://
http://
Changed in ikarus-libraries: | |
assignee: | nobody → derick-eddington |
importance: | Undecided → Medium |
status: | New → Confirmed |
Fixed in revision 72.