X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fthreads.impure.lisp;h=144d3baf4e0601fa4c5d8daed82aa1243202db8c;hb=353d8da16686b5cd1d75f95017c185b50f75cfda;hp=97f98f42fb72224d5dd8e991f7de028d55b8369c;hpb=fb76e3acd8b8a53cdadaa65bce1d090d99e004a0;p=sbcl.git diff --git a/tests/threads.impure.lisp b/tests/threads.impure.lisp index 97f98f4..144d3ba 100644 --- a/tests/threads.impure.lisp +++ b/tests/threads.impure.lisp @@ -17,7 +17,7 @@ (use-package "ASSERTOID") (defun wait-for-threads (threads) - (mapc #'sb-thread:join-thread threads) + (mapc (lambda (thread) (sb-thread:join-thread thread :errorp nil)) threads) (assert (not (some #'sb-thread:thread-alive-p threads)))) (assert (eql 1 (length (list-all-threads)))) @@ -55,11 +55,11 @@ (with-test (:name '(:join-thread :nlx :default)) (let ((sym (gensym))) (assert (eq sym (join-thread (make-thread (lambda () (sb-ext:quit))) + :errorp nil :default sym))))) (with-test (:name '(:join-thread :nlx :error)) - (raises-error? (join-thread (make-thread (lambda () (sb-ext:quit))) - :errorp t))) + (raises-error? (join-thread (make-thread (lambda () (sb-ext:quit)))))) (with-test (:name '(:join-thread :multiple-values)) (assert (equal '(1 2 3)