[Mono-devel-list] mono/tests patch

Bernie Solomon bernard at ugsolutions.com
Thu Jul 17 12:34:20 EDT 2003


I attach some patches to mono/tests. They:

- Add some pinvoke tests for many float/double arguments
- Add a pinvoke test for structs with doubles in them (I think this may fail on other platforms without other fixes - I am interested to know - I believe I have some fixes for this in marshal.c).
- Remove empty struct test for non GCC platforms (so this test fails on them but at least libtest builds)
- Remove some assumptions about pointer sizes & endianess
- Use different native routines for returned structs even if they just contain an int as the HP 64bit calling convention returns then differently.
- Makes sure libtest.c includes proper headers for malloc/g_malloc and hence adds a dependency on glib (alternative would be to use malloc and not g_malloc)
- Changes some return values in places to help indicate what failed.

Bernie Solomon


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20030717/5143a4f7/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tests.diff
Type: application/octet-stream
Size: 11563 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20030717/5143a4f7/attachment.obj 


More information about the Mono-devel-list mailing list