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