15 Aug 2012 19:48
Re: test return code 104 (was Re: sbcl on RedHat Enterprise Linux 6)
Stas Boukarev <stassats <at> gmail.com>
2012-08-15 17:48:37 GMT
2012-08-15 17:48:37 GMT
Mirko Vukovic <mirko.vukovic <at> gmail.com> writes:
> I am attaching output of
> sh run-tests.sh 2>&1 > tests.out
>
> That command did not capture all of the messages (such as stack
> restart options and backtraces). I don't know how to capture that.
It contains everything I needed.
So, the following test fails, as in the test itself fails
(with-test (:name :bug-511072 :skipped-on '(not :sb-thread))
(let* ((p (make-package :bug-511072))
(sem (sb-thread:make-semaphore))
(t2 (sb-thread:make-thread (lambda ()
(handler-bind ((error (lambda (c)
(sb-thread:signal-semaphore sem)
(signal c))))
(make-package :bug-511072))))))
(sb-thread:wait-on-semaphore sem)
(assert (eq 'cons (read-from-string "CL:CONS")))))
It seems that the handler-bind takes no effect. I can't reproduce this.
Can you run that form (sans with-test part) in a regular REPL?
--
--
With best regards, Stas.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
(Continue reading)
RSS Feed