fix :DEBUGGER :SOURCE 2 test on unithreaded builds
authorNikodemus Siivola <nikodemus@random-state.net>
Sat, 9 Jun 2012 17:21:17 +0000 (20:21 +0300)
committerNikodemus Siivola <nikodemus@random-state.net>
Sat, 9 Jun 2012 17:21:17 +0000 (20:21 +0300)
  Trivial layout different on debugger entry cause it to break.

tests/debug.impure.lisp

index 2411256..75d618e 100644 (file)
                  (if (eq '* match)
                      ;; Whatever, till the next line matches.
                      (let ((text (pop targets)))
+                       #+nil
+                       (format *error-output* "Looking for: ~A~%" text)
                        (unless (search text line)
                          (push text targets)
                          (push match targets)))
       (let ((f #'(lambda (x cont)
                    (print x (make-broadcast-stream))
                    (if (zerop x)
-                       (error "foo")
+                       (error "~%foo")
                        (funcall cont (1- x) cont)))))
         (funcall f 10 f)))
    '*
    '*
    "foo"
    '*
-   "source: (ERROR \"foo\")"
+   "source: (ERROR \"~%foo\")"
    '*
    "(LAMBDA (X CONT)"
    '*