Test output for zmq [ok]
Testing time: 1s
/home/mario/local/chicken-4.8.0.3/bin/csi -script run.scm < /dev/null -- testing contexts ---------------------------------------------------------- (context? (make-context 1)) .......................................... [ PASS] (make-context -1) .................................................... [ PASS] 2 tests completed in 0.001 seconds. 2 out of 2 (100%) tests passed. -- done testing contexts ----------------------------------------------------- -- testing sockets ----------------------------------------------------------- -- testing default-context ----------------------------------------------- (not (zmq-default-context)) ...................................... [ PASS] (context? (zmq-default-context)) ................................. [ PASS] 2 tests completed in 0.0 seconds. 2 out of 2 (100%) tests passed. -- done testing default-context ------------------------------------------ -- testing options ------------------------------------------------------- (socket-option s 'hwm) ........................................... [ PASS] (socket-option s 'hwm) ........................................... [ PASS] (socket-option s 'mcast-loop) .................................... [ PASS] (socket-option s 'identity) ...................................... [ PASS] (number? (socket-fd s)) .......................................... [ PASS] 5 tests completed in 0.001 seconds. 5 out of 5 (100%) tests passed. -- done testing options -------------------------------------------------- -- testing push/pull ----------------------------------------------------- (receive-message pull) ........................................... [ PASS] (receive-message pull) ........................................... [ PASS] (receive-message push) ........................................... [ PASS] (send-message pull "impossible") ................................. [ PASS] 4 tests completed in 0.0 seconds. 4 out of 4 (100%) tests passed. -- done testing push/pull ------------------------------------------------ -- testing pub/sub ------------------------------------------------------- (receive-message sub) ............................................ [ PASS] (not (receive-message sub non-blocking: #t)) ..................... [ PASS] 2 tests completed in 0.001 seconds. 2 out of 2 (100%) tests passed. -- done testing pub/sub -------------------------------------------------- -- testing rep/req ------------------------------------------------------- (receive-message rep) ............................................ [ PASS] (receive-message req) ............................................ [ PASS] (receive-message req) ............................................ [ PASS] (send-message rep "nope") ........................................ [ PASS] 4 tests completed in 0.0 seconds. 4 out of 4 (100%) tests passed. -- done testing rep/req -------------------------------------------------- -- testing non-blocking read --------------------------------------------- (not (receive-message b non-blocking: #t)) ....................... [ PASS] (receive-message b non-blocking: #t) ............................. [ PASS] 2 tests completed in 0.0 seconds. 2 out of 2 (100%) tests passed. -- done testing non-blocking read ---------------------------------------- 6 subgroups completed in 0.002 seconds. 6 out of 6 (100%) subgroups passed. -- done testing sockets ------------------------------------------------------ -- testing polling ----------------------------------------------------------- (poll pis #f) ........................................................ [ PASS] (poll pis #t) ........................................................ [ PASS] (length (filter poll-item-in? pis)) .................................. [ PASS] 3 tests completed in 0.001 seconds. 3 out of 3 (100%) tests passed. -- done testing polling ------------------------------------------------------ -- testing messages ---------------------------------------------------------- (pointer? (car c)) ................................................... [ PASS] (cdr c) .............................................................. [ PASS] (receive-message b as: 'blob) ........................................ [ PASS] (receive-message b) .................................................. [ PASS] 4 tests completed in 0.002 seconds. 4 out of 4 (100%) tests passed. -- done testing messages ----------------------------------------------------- -- testing receiving messages blockingly without blocking the whole process -- (receive-message* b) ................................................. [ PASS] 1 test completed in 1.001 seconds. 1 out of 1 (100%) test passed. -- done testing receiving messages blockingly without blocking the whole process