projects
/
fiveam.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
UNDO: Added *debug-on-failure* (Suggested by: Peter Gijsels <peter.gijsels@gmail...
[fiveam.git]
/
src
/
run.lisp
diff --git
a/src/run.lisp
b/src/run.lisp
index
54a9020
..
481f33a
100644
(file)
--- a/
src/run.lisp
+++ b/
src/run.lisp
@@
-125,11
+125,11
@@
run."))
(with-run-state (result-list)
(bind-run-state ((current-test test))
(labels ((abort-test (e)
(with-run-state (result-list)
(bind-run-state ((current-test test))
(labels ((abort-test (e)
- (add-result 'unexpected-test-failure
- :test-expr nil
- :test-case test
- :reason (format nil "Unexpected Error: ~S." e)
- :condition e))
+ (add-result 'unexpected-test-failure
+ :test-expr nil
+ :test-case test
+ :reason (format nil "Unexpected Error: ~S." e)
+ :condition e))
(run-it ()
(let ((result-list '()))
(declare (special result-list))
(run-it ()
(let ((result-list '()))
(declare (special result-list))
@@
-145,7
+145,7
@@
run."))
(return-from run-it (run-it)))
(ignore ()
:report (lambda (stream)
(return-from run-it (run-it)))
(ignore ()
:report (lambda (stream)
- (format stream "~@<Signal a test failure and abort the test ~S.~@:>" test))
+ (format stream "~@<Signal an exceptional test failure and abort the test ~S.~@:>" test))
(abort-test (make-instance 'test-failure :test-case test
:reason "Failure restart."))))
result-list))))
(abort-test (make-instance 'test-failure :test-case test
:reason "Failure restart."))))
result-list))))