X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fcondition.impure.lisp;h=4812ba639c4f67224f587d3dc7eddc8575b39cf7;hb=179de85ab4fdff049c72ddb2767b93d838494b09;hp=9475f9abe353aee1b75862c344b68509d342ea0e;hpb=d833d62dd152879f1aa4e974bd8337c51905d5ba;p=sbcl.git diff --git a/tests/condition.impure.lisp b/tests/condition.impure.lisp index 9475f9a..4812ba6 100644 --- a/tests/condition.impure.lisp +++ b/tests/condition.impure.lisp @@ -96,22 +96,23 @@ (define-condition my-stream-error-1-0-9 (stream-error) ()) (define-condition parse-foo-error-1-0-9 (parse-error) ()) (define-condition read-bar-error-1-0-9 (reader-error) ()) -(let (;; instances created initializing all the slots specified in - ;; ANSI CL - (parse-foo-error-1-0-9 (make-condition 'parse-foo-error-1-0-9 - :stream *standard-input*)) - (read-foo-error-1-0-9 (make-condition 'read-bar-error-1-0-9 - :stream *standard-input*)) - (my-stream-error-1-0-9 (make-condition 'my-stream-error-1-0-9 - :stream *standard-input*))) - ;; should be printable - (dolist (c (list - my-stream-error-1-0-9 - parse-foo-error-1-0-9 - read-foo-error-1-0-9)) - ;; whether escaped or not - (dolist (*print-escape* '(nil t)) - (write c :stream (make-string-output-stream))))) +(with-test (:name :printable-conditions :fails-on :win32) + (let (;; instances created initializing all the slots specified in + ;; ANSI CL + (parse-foo-error-1-0-9 (make-condition 'parse-foo-error-1-0-9 + :stream *standard-input*)) + (read-foo-error-1-0-9 (make-condition 'read-bar-error-1-0-9 + :stream *standard-input*)) + (my-stream-error-1-0-9 (make-condition 'my-stream-error-1-0-9 + :stream *standard-input*))) + ;; should be printable + (dolist (c (list + my-stream-error-1-0-9 + parse-foo-error-1-0-9 + read-foo-error-1-0-9)) + ;; whether escaped or not + (dolist (*print-escape* '(nil t)) + (write c :stream (make-string-output-stream)))))) ;;; Reported by Michael Weber: restart computation in :TEST-FUNCTION used to ;;; cause infinite recursion.