2005-03-01 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mono / tests / ChangeLog
1 2005-03-01  Zoltan Varga  <vargaz@freemail.hu>
2
3         * pinvoke3.cs: Add tests for passing blittable arrays.
4         
5         * pinvoke3.cs libtest.c: Add tests for passing arrays to delegates.
6
7 2005-02-21  Ben Maurer  <bmaurer@ximian.com>
8
9         * abort-stress-1.cs, abort-stress-2.cs: Stress tests for thread
10         aborting. The second one deadlocks, so it is disabled
11
12 2005-02-19  Zoltan Varga  <vargaz@freemail.hu>
13
14         * pinvoke3.cs libtest.c: Add more small struct tests.
15
16 2005-02-18  Zoltan Varga  <vargaz@freemail.hu>
17
18         * pinvoke3.cs libtest.c: Add tests for passing and returning small 
19         structs from delegates. Currently fails on windows.
20
21 2005-02-16  Zoltan Varga  <vargaz@freemail.hu>
22
23         * pinvoke2.cs: Add test for #72625.
24         
25         * pinvoke2.cs: Fix char array marshalling test so it works under MS.NET.
26 2005-02-15  Zoltan Varga  <vargaz@freemail.hu>
27
28         * Makefile.am (libtest_la_LDFLAGS): Add -Wl,--kill-at so the names exported from the DLL
29         can be found by the runtime.
30
31         * pinvoke13.cs: Fix test.
32
33         * libtest.c pinvoke13.cs: Fix test on big-endian machines.
34
35         * pinvoke3.cs: Remove an error handling test which no longer fails in
36         2.0.
37
38         * marshal.cs libtest.c: Add new test for GetDelegateForFunctionPointer.
39
40 2005-02-13  Zoltan Varga  <vargaz@freemail.hu>
41
42         * libtest.c (NameManglingAuto): Fix test. Fixes #72559.
43         
44         * libtest.c: Applied patch from robertj@gmx.net (Robert Jordan). Work around gcc-2.95.3 
45         bugs.
46
47         * pinvoke13.cs libtest.c: Add/correct tests for pinvoke name mangling.
48
49 2005-02-05  Zoltan Varga  <vargaz@freemail.hu>
50
51         * libtest.c: Mark all exported functions STDCALL.
52
53         * Makefile.am (CSC): Disable some warnings.
54
55 2005-01-30  Zoltan Varga  <vargaz@freemail.hu>
56
57         * libtest.c: Fix some warnings.
58
59 2005-01-25  Zoltan Varga  <vargaz@freemail.hu>
60
61         * Makefile.am (PLATFORM_DISABLED_TESTS): Disable some tests on x86 as well.
62         
63         * Makefile.am (PLATFORM_DISABLED_TESTS): Disable appdomain-unload.exe
64         on amd64 to make the test green again.
65
66 2005-01-20  Raja R Harinath  <rharinath@novell.com>
67
68         * libtest.c (mono_test_return_vtype): Fill in a value in the 'd2'
69         field too.
70         * pinvoke2.cs (test_0_return_vtype): Update.
71
72 2005-01-17  Zoltan Varga  <vargaz@freemail.hu>
73
74         * libtest.c pinvoke2.cs pinvoke3.cs: Add tests for unmanaged->managed
75         marshalling of unicode strings.
76
77 2005-01-15  Zoltan Varga  <vargaz@freemail.hu>
78
79         * thread6.cs: Add test for aborting the current thread.
80
81 2005-01-11  Zoltan Varga  <vargaz@freemail.hu>
82
83         * thread6.cs: Add test for rethrowing abort exceptions.
84
85 2005-01-06  Sebastien Pouliot  <sebastien@ximian.com>
86
87         * desweak.cs: Add test to check for regression of the bug seen in
88         rev 38316. The original code that failed is no more part of the
89         class library.
90
91 2005-01-06  Zoltan Varga  <vargaz@freemail.hu>
92
93         * libtest.c: Fix blittable_struct_delegate test.
94
95 2004-12-29  Zoltan Varga  <vargaz@freemail.hu>
96
97         * pinvoke3.cs libtest.c: Add test for marshalling blittable structs
98         with delegates.
99
100         * pinvoke3.cs libtest.c: Add test for marshalling of enums with delegates.
101
102 2004-12-26  Patrik Torstensson  <patrik.torstensson@gmail.com>
103
104         * interlocked.cs: added reg test for bug 70784
105
106 2004-12-18  Zoltan Varga  <vargaz@freemail.hu>
107
108         * Makefile.am (libtest_la_LDFLAGS): Add -no-undefined so a windows dll is built on windows.
109
110 2004-12-15  Patrik Torstensson  <patrik.torstensson@gmail.com>
111
112         * interlocked.cs: New test.
113
114 2004-12-14  Raja R Harinath  <rharinath@novell.com>
115
116         * Makefile.am (TEST_PROG_RUN, JITTEST_PROG_RUN): Set MONO_SHARED_DIR.
117
118 2004-12-11  Ben Maurer  <bmaurer@ximian.com>
119
120         * thread-static-init.cs: New test.
121
122 2004-12-09  Raja R Harinath  <rharinath@novell.com>
123
124         * test-driver: Clean up.
125         * Makefile.am (testjit, testaot, testinterp): Error out on failing tests.
126
127 2004-12-08  Raja R Harinath  <rharinath@novell.com>
128
129         * Makefile.am (CLEANFILES): Add *.exe, stest.dat.
130
131 2004-12-08  Zoltan Varga  <vargaz@freemail.hu>
132
133         * appdomain-unload.cs: Disable nondeterministic async unloading test.
134
135 2004-12-04  Zoltan Varga  <vargaz@freemail.hu>
136
137         * delegate.cs: Add test for unboxing and delegates.
138
139 2004-12-02  Zoltan Varga  <vargaz@freemail.hu>
140
141         * appdomain-unload.cs: Add tests for unloading an appdomain from inside
142         the appdomain.
143         
144         * appdomain-unload.cs: Stop the foreground thread created by one of the
145         tests.
146
147 2004-11-26  Raja R Harinath  <rharinath@novell.com>
148
149         * Makefile.am: Ensure that in-tree mscorlib.dll is used for testing.
150
151 2004-11-23  Raja R Harinath  <rharinath@novell.com>
152
153         * Makefile.am (CSC,ILASM): Don't refer to runtime/ directly.  Use
154         the mcs/ tree directly.
155
156 2004-11-19  Raja R Harinath  <rharinath@novell.com>
157
158         * Makefile.am (check-local): New.  Hook into 'make check'.
159         (CSC): Define using in-tree mono and mcs.exe.
160         (ILASM): New.  Likewise, with in-tree ilasm.exe.
161         * async_read.cs (Main): Read async_read.exe, since async_read.cs
162         will not necessarily be in the build directory.
163         * test-driver: Preserve stderr.
164
165 2004-11-10  Lluis Sanchez Gual  <lluis@novell.com>
166
167         * cross-domain.cs: New tests for cross-domain calls.
168
169 2004-11-05  Zoltan Varga  <vargaz@freemail.hu>
170
171         * loader.cs: Add test for loading dynamic assemblies using 
172         Assembly.LoadWithPartialName ().
173
174 2004-11-04  Zoltan Varga  <vargaz@freemail.hu>
175
176         * loader.cs: New file for assembly loading tests.
177
178 2004-10-29  Neale Ferguson <Neale.Ferguson@SoftwareAG-usa.com>
179
180         * cattr-object.cs: Correct type checking so test will stop giving
181         false negatives.
182
183 2004-10-07  Zoltan Varga  <vargaz@freemail.hu>
184
185         * pinvoke2.cs: Add test for prefixing 'lib' to dll names.
186
187 2004-09-30  Zoltan Varga  <vargaz@freemail.hu>
188
189         * marshal.cs: Add test for GetFunctionPointerForDelegate.
190
191         * libtest.c pinvoke2.cs: Add test for returning delegates.
192
193 2004-09-28  Zoltan Varga  <vargaz@freemail.hu>
194
195         * Makefile.am: Add marshal.cs.
196
197         * marshal.cs: New file for Marshal tests.
198
199 2004-09-21 Zoltan Varga <vargaz@freemail.hu>
200
201         * libtest.c: Free memory using CoTaskMemFree on windows.
202         * libtest.c (mono_test_stdcall_name_mangling): Remove declspec(dllimport).
203
204 2004-09-21  Zoltan Varga  <vargaz@freemail.hu>
205
206         * libtest.c (mono_test_stdcall_name_mangling): Add test for stdcall 
207         name mangling on windows.
208
209 2004-09-17  Zoltan Varga  <vargaz@freemail.hu>
210
211         * pinvoke2.cs libtest.c: Add test for stdcall name mangling on windows.
212
213 2004-09-08  Lluis Sanchez Gual  <lluis@novell.com>
214
215         * delegate8.cs: New regression test for bug #59299.
216         * Makefile.am: Added delegate8.cs.
217
218 2004-09-07  Duncan Mak  <duncan@ximian.com>
219
220         * typeof-ptr.cs: Add an unsafe section to the code that's using
221         direct pointers. This was breaking the test stage on the build boxes.
222
223 2004-09-07  Zoltan Varga  <vargaz@freemail.hu>
224
225         * libtest.c (mono_test_marshal_string_array): Add test for null
226         terminating string arrays.
227
228 2004-09-06  Zoltan Varga  <vargaz@freemail.hu>
229
230         * libtest.c: Mark delegates with __stdcall on windows.
231
232 2004-09-04  Zoltan Varga  <vargaz@freemail.hu>
233
234         * pinvoke2.cs libtest.c: Fix memory management in tests.
235
236         * pinvoke14.cs: Merge this into pinvoke2.cs.
237
238 2004-09-03  Zoltan Varga  <vargaz@freemail.hu>
239
240         * marshal9.cs libtest.c: Fix memory leaks in test.
241
242 2004-08-31  Zoltan Varga  <vargaz@freemail.hu>
243
244         * pinvoke16.cs: Merge this into pinvoke2.cs, and fix it.
245
246         * marshal9.cs: Clean up and expand custom marshalling tests.
247
248         * marshal10.cs: Merge this into marshal9.cs.
249
250         * pinvoke12.cs: Remove, this was merged into pinvoke2.cs a long time
251         ago.
252
253 2004-08-28  Zoltan Varga  <vargaz@freemail.hu>
254
255         * pinvoke2.cs libtest.c: New test for byref string arrays.
256
257 2004-08-06  Zoltan Varga  <vargaz@freemail.hu>
258
259         * pinvoke2.cs libtest.c: Add AMD64 structs-by-value tests.
260
261 2004-07-28  Zoltan Varga  <vargaz@freemail.hu>
262
263         * marshal10.cs libtest.c: Remove incorrect time_t custom marshalling 
264         test.
265
266 2004-07-06  Ben Maurer  <bmaurer@ximian.com>
267
268         * reflection-const-field.cs: New test for reflection on
269         constant fields.
270         
271 2004-07-05  Zoltan Varga  <vargaz@freemail.hu>
272
273         * Makefile.am pinvoke3.cs pinvoke9.cs: Merge pinvoke9 into pinvoke3.
274
275 2004-07-03  Zoltan Varga  <vargaz@freemail.hu>
276
277         * pinvoke3.cs libtest.c: New test for returning delegates from a
278         delegate.
279
280         * pinvoke2.cs libtest.c: New tests for stringbuilder marshalling.
281
282 2004-07-02  Zoltan Varga  <vargaz@freemail.hu>
283
284         * Makefile.am (CLEANFILES): Delete .stdout files too.
285
286 2004-05-29  Zoltan Varga  <vargaz@freemail.hu>
287
288         * invoke.cs: Add an Invoke test.
289
290 2004-05-28  Zoltan Varga  <vargaz@freemail.hu>
291
292         * pinvoke3.cs libtest.c: New tests for byref struct marshalling.
293
294         * static-constructor.cs: Add new regression test for bug #59193.
295
296         * setenv.cs: Fix this after marshalling changes.
297
298 2004-05-26  Zoltan Varga  <vargaz@freemail.hu>
299
300         * pinvoke3.cs libtest.c: Add tests for fnptr->delegate marshalling.
301
302         * Makefile.am (DISABLED_TESTS): appdomain-unload.exe seems to run too.
303
304 2004-05-23  Zoltan Varga  <vargaz@freemail.hu>
305
306         * Makefile.am (DISABLED_TESTS): Reenable remoting2 and remoting3.
307
308 2004-05-22  Zoltan Varga  <vargaz@freemail.hu>
309
310         * Makefile.am (PLATFORM_DISABLED_TESTS): Reenable thread abort test.
311
312 2004-05-18  Zoltan Varga  <vargaz@freemail.hu>
313
314         * marshal9.cs marshal10.cs: Fix custom marshalling tests.
315
316 2004-05-11  Zoltan Varga  <vargaz@freemail.hu>
317
318         * Makefile.am (EXTRA_DIST): Distribute benchmarks as well.
319
320         * pinvoke2.cs libtest.c: Add tests for AsAny marshalling.
321
322 2004-05-06  Zoltan Varga  <vargaz@freemail.hu>
323
324         * Makefile.am: Disable thread6.exe since it might hang. Fix check for
325         failed tests.
326
327         * Makefile.am: Only disable thread6.exe on x86.
328
329 2004-04-28  Zoltan Varga  <vargaz@freemail.hu>
330
331         * pinvoke2.cs libtest.c: New tests for long fields inside structs.
332
333 2004-04-26  Zoltan Varga  <vargaz@freemail.hu>
334
335         * Makefile.am test-driver: Disable some failing tests.
336
337 2004-04-19  Zoltan Varga  <vargaz@freemail.hu>
338
339         * pinvoke3.cs libtest.c: Add test for string marshalling in delegates.
340
341 2004-04-18  Zoltan Varga  <vargaz@freemail.hu>
342
343         * libtest.c pinvoke2.cs marshal4.cs Makefile.am: Add more tests for 
344         marshalling delegate fields in structs. Merge marshal4.cs into 
345         pinvoke2.cs.
346
347         * libtest.c pinvoke2.cs: Add more tests for unicode marshalling.
348
349 2004-04-14  Zoltan Varga  <vargaz@freemail.hu>
350         
351         * libtest.c pinvoke2.cs: Add test for unicode string array marshalling.
352
353 2004-04-10  Bernie Solomon  <bernard@ugsolutions.com>
354
355         * libtest.c: declare SetLastError on Windows
356
357 2004-03-30  Lluis Sanchez Gual  <lluis@ximian.com>
358
359         * synchronized.cs: Monitor.Exit does not throw an exception anymore if the
360         lock is not owned by the current thread (see bug #56157). Modified test that
361         checked this.
362
363 2004-03-16  Zoltan Varga  <vargaz@freemail.hu>
364
365         * libtest.c pinvoke2.cs: Add new test for implicit [Out] marshalling
366         of char[].
367
368 2004-03-15  Bernie Solomon  <bernard@ugsolutions.com>
369
370         * libtest.c (mono_test_marshal_time_t): fix
371         for current code on 64 bit machines with 64bit time
372
373         * marshal9.cs marshal10.cs: Do arithmetic on
374         pointers as 64bits.
375
376 2004-03-09  Zoltan Varga  <vargaz@freemail.hu>
377
378         * setenv.cs: Handle DllNotFoundException.
379
380         * pinvoke2.cs pinvoke12.cs: Merge pinvoke12.cs into pinvoke2.cs.
381
382 2004-02-23  Zoltan Varga  <vargaz@freemail.hu>
383
384         * many-locals.cs: Add tests for locals with large stack frame offsets.
385
386 2004-02-18  Zoltan Varga  <vargaz@freemail.hu>
387
388         * switch.cs: Add test for bug #54473.
389
390 2004-02-14  Zoltan Varga  <vargaz@freemail.hu>
391
392         * libtest.c: Add <time.h>
393
394         * delegate.cs: Add test for bug #52092.
395
396 2004-02-12  Zoltan Varga  <vargaz@freemail.hu>
397
398         * marshal10.cs: Oops, wrong test.
399
400         * libtest.c: Add valuetype marshaling test.
401
402         * marshal9.cs: Fix after marshaling changes.
403
404         * marshal10.cs: Add valuetype marshaling test.
405
406 2004-02-10  Zoltan Varga  <vargaz@freemail.hu>
407
408         * Makefile.am: Remove the SHELL=bash setting since some people do not seem to
409         have bash.
410
411 2004-02-02  Zoltan Varga  <vargaz@freemail.hu>
412
413         * pinvoke2.cs libtest.c: Add test for unicode StringBuilder marshalling.
414
415         * pinvoke.cs libtest.c: Add test for Sparc V8 split register/stack double
416         parameter passing.
417
418 2004-01-31  Zoltan Varga  <vargaz@freemail.hu>
419
420         * setenv.cs: Make this run on platforms without setenv.
421
422 2004-01-30  Zoltan Varga  <vargaz@freemail.hu>
423
424         * Makefile.am: Set SHELL to bash, since some commands require it.
425
426 2004-01-22  Zoltan Varga  <vargaz@freemail.hu>
427
428         * pinvoke17.cs: Fix test.
429
430 2004-01-19  Zoltan Varga  <vargaz@freemail.hu>
431
432         * pinvoke2.cs: Add tests for DllImport problems.
433
434         * pinvoke.cs: Make this run under linux.
435
436 2004-01-09  Zoltan Varga  <vargaz@freemail.hu>
437
438         * custom-attr.cs: Add test for properties with array type.
439
440 2003-12-13  Patrik Torstensson  <p@rxc.se>
441
442         * bug-42136.cs: invalid liveness analyse for locals
443         used in try and catch block. (exceptions not counted 
444         for in the liveness analyse)
445         * Makefile.am: added bug-42136.cs
446         
447 2003-12-13  Patrik Torstensson  <p@rxc.se>
448
449         * bug-48015.cs: new test for obj.Equals on ContextBound objects
450         * Makefile.am: added bug-48015.cs.
451
452 2003-11-21  Lluis Sanchez Gual  <lluis@ximian.com>
453
454         * context-static.cs: new test for ContextStaticAttribute.
455         * Makefile.am: added context-static.cs.
456
457 2003-11-17  Zoltan Varga  <vargaz@freemail.hu>
458
459         * cattr-object.cs: Fix test so it does not count the attributes on the
460         Object class.
461
462 2003-10-31  Zoltan Varga  <vargaz@freemail.hu>
463
464         * appdomain-unload.cs: Get rid of hardcoded file names.
465                 
466         * appdomain-unload.cs: New file. AppDomain Unloading tests.
467         
468         * Makefile: Add new test + enable IL tests now that we have a working
469         ilasm.
470         
471         * delegate7.cs: Convert it to use the test driver + add regression test
472         for #50366.
473
474 2003-10-25  Zoltan Varga  <vargaz@freemail.hu>
475
476         * libtest.c pinvoke2.cs: Add tests for [In,Out] marshalling of arrays.
477
478 2003-10-15  Zoltan Varga  <vargaz@freemail.hu>
479
480         * vararg.il: New file.
481
482         * Makefile.am: Added vararg.il.
483
484 2003-10-13  Bernie Solomon  <bernard@ugsolutions.com>
485
486         * Makefile.am: fix so it works if builddir != srcdir
487
488         * libtest.c: (mono_test_empty_struct) make it exist for 
489         non-GCC builds (and possibly pass depending on trampolines).
490         (mono_test_marshal_bool_byref) bools marshal as ints by default
491         
492 2003-10-13  Zoltan Varga  <vargaz@freemail.hu>
493
494         * bug-46781.cs: New regression test.
495
496         * libtest.c pinvoke2.cs: Add new test for SetLastError functionality.
497
498         * Makefile.am (TEST_CS_SRC): Remove merged tests.
499
500         * pinvoke2.cs pinvoke3.cs: Merge tests 4-8 into these files + 
501         convert tests so they run with the test driver used by mini.
502
503         * pinvoke3.cs libtest.c: Add tests for class arguments and return 
504         values.
505
506         * pinvoke4.cs pinvoke5.cs pinvoke6.cs pinvoke7.cs pinvoke8.cs: Removed.