SBCL 0.9.9.37 on mingw, cffi-060225.tar.gz
* (asdf:operate 'asdf:load-op :cffi) ... Test CFFI-TESTS::DEFCFUN.UNDEFINED failed Form: (PROGN (EVAL '(CFFI:DEFCFUN "undefined_foreign_function" :VOID)) (COMPILE 'CFFI-TESTS::UNDEFINED-FOREIGN-FUNCTION) T) Expected value: T Actual value: #<UNDEFINED-ALIEN-ERROR undefined_foreign_function {B45E8E9}>.
Thanks.
Yaroslav Kavenchuk kavenchuk@jenty.by writes:
SBCL 0.9.9.37 on mingw, cffi-060225.tar.gz
(...)
Test CFFI-TESTS::DEFCFUN.UNDEFINED failed
Other platforms where SBCL doesn't use the linkage table yet will fail this test as well. So I've marked this test as expected when *features* match (and sbcl (not linkage-table)).
Thanks.
Luís Oliveira wrote:
Other platforms where SBCL doesn't use the linkage table yet will fail this test as well. So I've marked this test as expected when *features* match (and sbcl (not linkage-table)).
Thank's.
Next error:
Test CFFI-TESTS::DEFCFUN.UNDEFINED failed Form: (PROGN (EVAL '(CFFI:DEFCFUN ("undefined_foreign_function" CFFI-TESTS::UNDEFINED-FOREIGN-FUNCTION) :VOID)) (COMPILE 'CFFI-TESTS::UNDEFINED-FOREIGN-FUNCTION) T) Expected value: T Actual value: #<UNDEFINED-ALIEN-ERROR undefined_foreign_function {AAF3369}>.
On 2006-mar-01, at 10:12, Yaroslav Kavenchuk wrote:
Next error: Test CFFI-TESTS::DEFCFUN.UNDEFINED failed
Heh, it's the same error. Only now it's expected. :-)
Luís Oliveira wrote:
Other platforms where SBCL doesn't use the linkage table yet will fail this test as well. So I've marked this test as expected when *features* match (and sbcl (not linkage-table)).
Hmm, now (SBCL 0.9.11.3) linkage table is present:
CL-USER> *features* (:ASDF :ANSI-CL :COMMON-LISP :SBCL :UNIX :SB-DOC :SB-TEST :SB-PACKAGE-LOCKS :SB-UNICODE :SB-SOURCE-LOCATIONS :IEEE-FLOATING-POINT :X86 :WIN32 :GENCGC :STACK-GROWS-DOWNWARD-NOT-UPWARD :C-STACK-IS-CONTROL-STACK :STACK-ALLOCATABLE-CLOSURES :ALIEN-CALLBACKS :LINKAGE-TABLE :OS-PROVIDES-DLOPEN :OS-PROVIDES-PUTWC)
but:
Test CFFI-TESTS::DEFCFUN.UNDEFINED failed Form: (PROGN (EVAL '(CFFI:DEFCFUN ("undefined_foreign_function" CFFI-TESTS::UNDEFINED-FOREIGN-FUNCTION) :VOID)) (COMPILE 'CFFI-TESTS::UNDEFINED-FOREIGN-FUNCTION) T) Expected value: T Actual value: #<UNDEFINED-ALIEN-ERROR undefined_foreign_function {A7A4631}>.
Why?
Thanks!
Yaroslav Kavenchuk kavenchuk@tut.by writes:
Hmm, now (SBCL 0.9.11.3) linkage table is present:
[...]
but:
Test CFFI-TESTS::DEFCFUN.UNDEFINED failed
[...]
Why?
I have no idea. I'll mark the failure as expected.