orthecreedence / cl-async

Asynchronous IO library for Common Lisp.
MIT License
272 stars 40 forks source link

can't get cl-async to work. #137

Open thche opened 8 years ago

thche commented 8 years ago

Can't get cl-async to work proper. Any hints suggested?

`* (ql:quickload :cl-async-test) To load "cl-async-test": Load 1 ASDF system: cl-async-test ; Loading "cl-async-test" ...................... (:CL-ASYNC-TEST)

Running test suite CL-ASYNC-TEST-CORE Running test DATA-POINTERS . Running test IPV4-ADDRESS .......... Running test IPV6-ADDRESS ............ Running test POINTER-CALLBACKS ... Running test POINTER-DATA ... Running test EVENT-LOOP-STARTS . Running test EVENT-LOOP-EXIT . Running test CATCH-APP-ERRORS .. Running test DATA-AND-FN-POINTERS .. Running test EXIT-CALLBACKS . Running test DELAY-SIMPLE . Running test DELAY-TIMER . Running test DELAY-MULTI ... Running test INTERVAL . Running test DNS-SIMPLE . Running test DNS-MULTI .. Running test DNS-LOOKUP-IPV4 . Running test DNS-LOOKUP-IPV6 . Running test DNS-FAIL .. Running test REVERSE-DNS-LOOKUP-IPV4 . Running test REVERSE-DNS-LOOKUP-IPV6 . Running test TCP-SIMPLE-CLIENT-SERVER ..... Running test TCP-CONNECT-FAIL .. Running test TCP-SERVER-CLOSE . Running test TCP-SERVER-STREAM . Running test TEST-ADDRESS-IN-USE .. Running test WRITE-SEQ-WITH-OFFSET . Running test PIPE-SIMPLE-CLIENT-SERVER ..... Running test PIPE-CONNECT-FAIL .. Running test PIPE-SERVER-CLOSE . Running test PIPE-SERVER-STREAM . Running test STREAM-READ-WRITE-SEQUENCE .. Running test SIGNAL-HANDLER-ADD-REMOVE . Running test IDLE . Running test POLL-FD . Running test MKDTEMP .. Running test MKDTEMP-FAIL . Running test SPAWN-SIMPLE ..... Running test SPAWN-REDIRECT-OUTPUT ..........X Running test SPAWN-REDIRECT-ERROR-OUTPUT ........... Running test SPAWN-REDIRECT-STREAM ............ Running test SPAWN-EXEC-FAILURE . Running test PROCESS-KILL .... Running test FS-MONITOR ....X Running test FS-WATCH-FAILURE . Did 130 checks. Pass: 128 (98%) Skip: 0 ( 0%) Fail: 2 ( 1%)

Failure Details:


FS-MONITOR []: Unexpected Error: #<SIMPLE-ERROR "test timeout" {10078791E3}> test timeout..



SPAWN-REDIRECT-OUTPUT []: Unexpected Error: #<SIMPLE-ERROR "test timeout" {1003251CE3}> test timeout..


NIL `

orthecreedence commented 8 years ago

To be quite honest, cl-async was largely rebuilt a few years back and mostly neglected after that. I got the full test suite running in x64 linux but haven't touched the tests since and a few have broke (running the suite on Windows is even worse).

Any pull requests or suggestions for fixes would be greatly appreciated as I'm currently not able to realistically make updates to the project.

That said, the things that work very well in cl-async and always have:

Things I never quite got around to wrapping fully or perfecting: