mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-19 05:39:18 +02:00
test-exit should return non-zero for failures outside test* forms
This commit is contained in:
parent
ceb2345b68
commit
22b39432b4
1 changed files with 2 additions and 1 deletions
|
@ -176,7 +176,8 @@
|
||||||
(warning "error in group outside of tests")
|
(warning "error in group outside of tests")
|
||||||
(print-exception exn (current-error-port))
|
(print-exception exn (current-error-port))
|
||||||
(test-group-inc! (current-test-group) 'count)
|
(test-group-inc! (current-test-group) 'count)
|
||||||
(test-group-inc! (current-test-group) 'ERROR)))
|
(test-group-inc! (current-test-group) 'ERROR)
|
||||||
|
(test-failure-count (+ 1 (test-failure-count)))))
|
||||||
body ...)
|
body ...)
|
||||||
(test-end name)
|
(test-end name)
|
||||||
(current-test-group old-group)))))
|
(current-test-group old-group)))))
|
||||||
|
|
Loading…
Add table
Reference in a new issue