Update of /cvsroot/sbcl/sbcl/contrib/sb-concurrency/tests
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv31028/contrib/sb-concurrency/tests
188.8.131.52: less pain for building threads on Darwin
* Use RUN-PROGRAM for impure tests everywhere. Not only is it better
to use the more-portable solution everywhere, we had a huge number
of bogus failures on thread tests on Darwin due to interactions
between fork() and thread stack cleanup.
Addresses Launchpad bug #310208.
* Make tests depending on mutex timeout punt on lutex platform, and
make several test which are prone hang or crash into LDB punt on
Darwin. ("Punt" here means "call ERROR" so we get a test failure.)
* Disable mailbox tests prone to hang on Darwin.
...so building threads on Darwin means one actually has a prayer or
running the tests with useful results -- and the failures are real
RCS file: /cvsroot/sbcl/sbcl/contrib/sb-concurrency/tests/test-mailbox.lisp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- test-mailbox.lisp 31 Mar 2010 19:35:11 -0000 1.2
+++ test-mailbox.lisp 7 Apr 2010 11:59:00 -0000 1.3
@@ -38,7 +38,9 @@
(3 nil (#\1 #\2 #\3) nil)
(0 t nil t))
+;;; FIXME: Several tests disabled on Darwin due to hangs. Something not right
+;;; with mailboxes -- or possibly semaphores -- there.
+#+(and sb-thread (not darwin))
;; Dummy struct for ATOMIC-INCF to work.