1.0.3.47: fixed threads tests
authorGabor Melis <mega@hotpop.com>
Wed, 21 Mar 2007 08:26:19 +0000 (08:26 +0000)
committerGabor Melis <mega@hotpop.com>
Wed, 21 Mar 2007 08:26:19 +0000 (08:26 +0000)
tests/threads.impure.lisp
version.lisp-expr

index 97f98f4..144d3ba 100644 (file)
@@ -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))))
 (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)
index 6460028..daae2b1 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.3.46"
+"1.0.3.47"