Hi all, El vie, 12-12-2008 a las 17:42 +0100, Romain Tartière escribió: > On Thu, Dec 11, 2008 at 01:09:57PM +0100, Robert Jordan wrote: > > > make tests > > > | [...] > > > | Testing thunks.exe... failed 2048 (8) signal (0). > > > | [...] > > > > In mono/tests/libtest.c, search for the only line containing > > __APPLE__ and change it to match FreeBSD as well. > > Then rerun the test. > > 312 test(s) passed. 0 test(s) did not pass. > > Great! make exits with 0 now! > > Patch available here: > http://bsd-sharp.googlecode.com/svn/trunk/lang/mono/files/patch-mono_tests_libtest.c > > Before I fill-in / complete a bug report, can you please Phillip tell me > more about the problem you have with the thunks.exe test: in a private > mail you told me it failed too on your machine. As far as I see, the > chage I made will not affect you since we have a "#if defined(__i386__)" > and you are running amd64, don't you?
It works on AMD64 too :) Currently the only failure is pinvoke2 (on amd64 only, i386 works) Can anyone give us a hand with this? This is whats failing: public static int test_0_marshal_stringbuilder_array () { StringBuilder sb1 = new StringBuilder ("ABC"); StringBuilder sb2 = new StringBuilder ("DEF"); int res = mono_test_marshal_stringbuilder_array (new StringBuilder [] { sb1, sb2 }); if (res != 0) return res; if (sb1.ToString () != "DEF") return 5; if (sb2.ToString () != "ABC") return 6; return 0; } libtest.c: LIBTEST_API int STDCALL mono_test_marshal_stringbuilder_array (char **array) { if (strcmp (array [0], "ABC")) return 1; if (strcmp (array [1], "DEF")) return 2; strcpy (array [0], "DEF"); strcpy (array [1], "ABC"); return 0; } Its returning 1. If i could provide more info please tell! Thanks in advance!! _______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list