arthurnn / memcached

A Ruby interface to the libmemcached C client
Academic Free License v3.0
432 stars 125 forks source link

Cpp code in c #123

Closed oddraisin closed 11 years ago

oddraisin commented 11 years ago

I hope I did this correctly. This is the first time I've tried this. I do get an error on make test:

Testing callback_test 0.000 [ ok ] Testing behavior_testAssertion failed: (value > 0), function behavior_test, file function.c, line 1928. *\ [library_test] Signal 6

But so far the gem seems to work. I'll keep trying to track down the problem.

evan commented 11 years ago

Is that in the ext/libmemcached-0.32 tests (from "make test")? I think those have rotted a bit already; I get this same failure with and without your changes:

Testing get_lenAssertion failed: (rc == MEMCACHED_NOTFOUND), function get_len_test, file function.c, line 1066.
/bin/sh: line 1: 51118 Abort trap: 6           ./testapp > output.cmp

If we can track down those failures, that would be great, but I'm not hung up about it. It's not really plausible that your changes are the cause, but maybe you can verify on your end that you got the same failure before.