FFI tests

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

FFI tests

otto
Hello,

I'm back on getting the Sybase interface library to work with the
GemStone FFI. Thanks for all the work on the parsing of header files
and creating wrappers.

It appears as if there are some complications in the Sybase Ct library
headers that fails to parse. I'd like to help to get it going. Where
can I find some tests for this FFI classes and C parsing tools? It
would be great if I can create a test that fails and fix it.

Cheers
Otto
Reply | Threaded
Open this post in threaded view
|

Re: FFI tests

James Foster-8
Otto,

We do have tests, and would love to have you add to them. Let me check on what it would take to release them. (Basically, they are SUnit subclasses with some extensions.) Also, before you go to too much work, I'd want you to be on the latest since we found and fixed several issues when parsing X11 headers.

James

On Mar 31, 2011, at 5:24 AM, Otto Behrens wrote:

> Hello,
>
> I'm back on getting the Sybase interface library to work with the
> GemStone FFI. Thanks for all the work on the parsing of header files
> and creating wrappers.
>
> It appears as if there are some complications in the Sybase Ct library
> headers that fails to parse. I'd like to help to get it going. Where
> can I find some tests for this FFI classes and C parsing tools? It
> would be great if I can create a test that fails and fix it.
>
> Cheers
> Otto

Reply | Threaded
Open this post in threaded view
|

Re: FFI tests

otto
> We do have tests, and would love to have you add to them. Let me check on what it would take to release them. (Basically, they are SUnit subclasses with some extensions.) Also, before you go to too much work, I'd want you to be on the latest since we found and fixed several issues when parsing X11 headers.

OK. I downloaded 3.0.0Beta4. I did not see a monticello project on
gemsource for the FFI stuff. Perhaps I missed that. Will look again.
Reply | Threaded
Open this post in threaded view
|

Re: FFI tests

James Foster-8

On Mar 31, 2011, at 6:31 AM, Otto Behrens wrote:

>> We do have tests, and would love to have you add to them. Let me check on what it would take to release them. (Basically, they are SUnit subclasses with some extensions.) Also, before you go to too much work, I'd want you to be on the latest since we found and fixed several issues when parsing X11 headers.
>
> OK. I downloaded 3.0.0Beta4. I did not see a monticello project on
> gemsource for the FFI stuff. Perhaps I missed that. Will look again.

No, the latest will be in 3.0.0Beta5 (in the next few days?). I should be able to give more details in a few hours (it is still early here!).
Reply | Threaded
Open this post in threaded view
|

Re: FFI tests

otto
> No, the latest will be in 3.0.0Beta5 (in the next few days?). I should be able to give more details in a few hours (it is still early here!).

OK, waiting for your response.

I just got a message "breakpoint and single step not supported". Do I
interpret this as I can't single step after a self halt in the code
anymore?
Reply | Threaded
Open this post in threaded view
|

Re: FFI tests

Dale Henrichs

On Mar 31, 2011, at 7:06 AM, Otto Behrens wrote:

> I just got a message "breakpoint and single step not supported". Do I
> interpret this as I can't single step after a self halt in the code
> anymore?

Hey Otto,

I haven't seen that error before and I've been halting and single stepping myself. Without putting my hands on a test case the error could mean that the mechanism I am currently using in the debugger for single stepping from GemTools is not correct anymore ... or ... if you are using topaz, then you've found a real bug ... or ... ?

So if you can come up with a reproducible test case in topaz or GemTools I'll look into it in more detail...

Dale
Reply | Threaded
Open this post in threaded view
|

Re: FFI tests

James Foster-8
In reply to this post by James Foster-8
3.0.0Beta5 will include examples/testing with a subset of our testing framework, including the FFI tests. This should be available in the next few days. If you want to get started sooner, send me a private email.

On Mar 31, 2011, at 6:37 AM, James Foster wrote:

>
> On Mar 31, 2011, at 6:31 AM, Otto Behrens wrote:
>
>>> We do have tests, and would love to have you add to them. Let me check on what it would take to release them. (Basically, they are SUnit subclasses with some extensions.) Also, before you go to too much work, I'd want you to be on the latest since we found and fixed several issues when parsing X11 headers.
>>
>> OK. I downloaded 3.0.0Beta4. I did not see a monticello project on
>> gemsource for the FFI stuff. Perhaps I missed that. Will look again.
>
> No, the latest will be in 3.0.0Beta5 (in the next few days?). I should be able to give more details in a few hours (it is still early here!).