1.0.37.40: More informative UNEXPECTED-FAILURE reporting...
authorTobias C. Rittweiler <trittweiler@users.sourceforge.net>
Tue, 6 Apr 2010 10:07:22 +0000 (10:07 +0000)
committerTobias C. Rittweiler <trittweiler@users.sourceforge.net>
Tue, 6 Apr 2010 10:07:22 +0000 (10:07 +0000)
..by making it report the actual error message as well.

tests/test-util.lisp
version.lisp-expr

index 7ef6b6b..f9ca05f 100644 (file)
@@ -48,7 +48,8 @@
   (incf *test-count*))
 
 (defun fail-test (type test-name condition)
-  (log-msg "~A ~S" type test-name)
+  (log-msg "~@<~A ~S ~:_due to ~S: ~4I~:_\"~A\"~:>"
+           type test-name condition condition)
   (push (list type *test-file* (or test-name *test-count*))
         *failures*)
   (when (or (and *break-on-failure*
index 8e57c27..abade63 100644 (file)
@@ -17,4 +17,4 @@
 ;;; checkins which aren't released. (And occasionally for internal
 ;;; versions, especially for internal versions off the main CVS
 ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"1.0.37.39"
+"1.0.37.40"