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