Remove empty test case
[mono.git] / mcs / build / ChangeLog
1 2004-11-26  Martin Baulig  <martin@ximian.com>
2
3         * library.make (run-test-lib, run-test-ondotnet-lib): Added
4         `/output:TestResult-$(PROFILE).log' argument to NUnit.
5
6 2004-11-26  Raja R Harinath  <rharinath@novell.com>
7
8         * library.make ($(the_lib)): Don't complain if a .mdb file wasn't
9         created (even though it's just a warning).
10         (install-local) [LIBRARY_INSTALL_DIR]: Likewise.
11         (PACKAGE): Remove.
12         (install-local) [!LIBRARY_INSTALL_DIR]: Use $(FRAMEWORK_VERSION).
13         * executable.make ($(PROGRAM)): Likewise.
14         (install-local): Likewise.
15         (PROGRAM_INSTALL_DIR): Define Using $(FRAMEWORK_VERSION).
16
17 2004-11-26  Raja R Harinath  <rharinath@novell.com>
18
19         * profiles/basic.make (real-profile-check): Prepend ./ when
20         executing basic-profile-check.exe.  EXTERNAL_RUNTIME can be empty.
21
22 2004-11-25  Raja R Harinath  <rharinath@novell.com>
23
24         * platforms/linux.make (EXTERNAL_MCS,EXTERNAL_MBAS,EXTERNAL_RUNTIME):
25         New.
26         * platforms/win32.make: Likewise.
27         * profiles/basic.make: Use $(EXTERNAL_MCS).
28         * profiles/net_1_1_bootstrap.make: Likewise.
29         * library.make ($(the_lib)): Add support for BUILT_SOURCES.
30         (run-test-lib): Pass $(TEST_HARNESS_FLAGS) to harness.  Useful to
31         pass, say /labels, to nunit-console.
32
33 2004-11-25  Raja R Harinath  <rharinath@novell.com>
34
35         * library.make ($(gacutil)): Fix path.
36
37 2004-11-23  Raja R Harinath  <rharinath@novell.com>
38
39         * executable.make (NO_INSTALL): New option.  Disables installation.
40         * library.make (NO_INSTALL): Likewise.
41         (install-local) [!NO_INSTALL, !LIBRARY_INSTALL_DIR]: Pass both
42         /gacdir and /root options to gacutil.
43         * platforms/linux.make (platform-check): Print the BOOTSTRAP_MCS
44         command that was tried, in case of failure.     
45         * profiles/basic.make (NO_TEST, NO_INSTALL): Define.
46         * profiles/net_1_1_bootstrap.make: Likewise.
47         * profiles/net_2_0_bootstrap.make: Likewise.
48
49 2004-11-22  Raja R Harinath  <rharinath@novell.com>
50
51         * library.make (SN): New define.  Use the net_1_1_bootstrap sn.exe.
52         (SNFLAGS): New.
53         ($(the_lib)): Use them to sign assemblies as they're built.
54         (the_lib_signature_stamp): Remove.
55
56         * Makefile (DISTFILES): Distribute all the profile make-fragments.
57         (clean-local): Clean up the deps/ directory.
58
59 2004-11-19  Raja R Harinath  <rharinath@novell.com>
60
61         Orchestrate the bootstrap.
62         * rules.make (INTERNAL_MCS): Look for mcs.exe in profile-specific directory.
63         * profiles/net_1_1_bootstrap.make (BOOTSTRAP_MCS): Use mcs.exe from
64         basic profile.  
65         * profiles/default.make (BOOTSTRAP_MCS): Use mcs.exe from the
66         net_1_1_bootstrap profile.
67         * profiles/net_2_0_bootstrap.make (BOOTSTRAP_MCS): Use mcs.exe
68         from default profile.
69         (all-local, clean-local): New.  Copy mcs.exe from default profile,
70         but customize it to work with 2.0.x libraries.
71         * profiles/net_2_0.make (BOOTSTRAP_MCS): Define approprately for
72         building corlib.
73
74         * executable.make (executable_CLEAN_FILES): Clean up more files.
75         ($(PROGRAM)): Move .mdb files too.
76
77 2004-11-18  Atsushi Enomoto  <atsushi@ximian.com>
78
79         * library.make: Reverted the last fix. It broke windows build (that
80           should be fixed though).
81
82 2004-11-18  Atsushi Enomoto  <atsushi@ximian.com>
83
84         * library.make: Some minor fix for PLATFORM_PATH_SEPARATOR.
85
86 2004-11-17  Raja R Harinath  <rharinath@novell.com>
87
88         * executable.make: Improve support for building executable into a
89         different directory.
90
91 2004-11-09  Raja R Harinath  <rharinath@novell.com>
92
93         * profiles/basic.make: New.
94         * profiles/net_2_0.make (PROFILE_MCS_FLAGS): Remove '-2' flag.
95         * profiles/net_1_1_bootstrap.make (NO_SIGN_ASSEMBLY): Set.
96
97 2004-11-04  Raja R Harinath  <rharinath@novell.com>
98
99         * profiles/net_1_1_bootstrap.make: New profile.
100         * profiles/net_2_0_bootstrap.make: Use in-tree mcs for
101         bootstrapping mscorlib.dll.
102         * platforms/linux.make (platform-check): Make more robust.
103         * rules.make (%-recursive): Propagate error exit from sub-makes
104         even if invoked with 'make -k'.
105
106 2004-10-29  Raja R Harinath  <rharinath@novell.com>
107
108         * profiles/net_2_0_bootstrap.make (PROFILE_MCS_FLAGS): Remove
109         -langversion:default flag.
110
111         * rules.make (distdir): Remove.
112         (PROFILE_SUBDIRS): New.  Support profile-specific SUBDIRS.
113         (DIST_SUBDIRS): New.
114         (dist-recursive): Define distdir here.
115
116 2004-10-25  Zoltan Varga  <vargaz@freemail.hu>
117
118         * config-default.make (TEST_RUNTIME): Add TEST_MONO_PATH variable.
119
120 2004-09-27  Raja R Harinath  <rharinath@novell.com>
121
122         * library.make ($(test_nunit_dep)): Make sure NUnit is built for
123         the profile being tested.
124         (nunit-$(PROFILE).stamp): Rename from nunit.stamp.
125         * config-default.make (TEST_HARNESS): Look for 'nunit-console' in
126         profile-specific directory.
127
128 2004-09-21  Raja R Harinath  <rharinath@novell.com>
129
130         * profiles/net_2_0_bootstrap.make: New file.
131
132         * library.make (the_mdb): Fix.
133         (library_CLEAN_FILES): Add the new test results files too.
134
135 2004-09-14  Raja R Harinath  <rharinath@novell.com>
136
137         * library.make (test_lib, btest_lib): Build separate test
138         assemblies for separate profiles.
139         (dist-local): Don't copy files beginning with '../'.
140         (test_sourcefile, btest_sourcefile): Define in terms of
141         $(test_lib) or $(btest_lib) only if they're overriden.
142         (test_response, test_makefrag): Remove redundant $(PROFILE) in name.
143         (run-test-lib, run-btest-lib): Unify.  Give profile-specific name
144         for output XML file.
145         * rules.make (dist-default): Handle any of Makefile, makefile, or
146         GNUmakefile being present.
147         * profiles/net_2_0.make (TEST_RUNTIME): Don't define.
148
149 2004-08-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
150
151         * executable.make:
152         * library.make: install/clean .mdb files.
153
154 2004-07-30  Martin Baulig  <martin@ximian.com>
155
156         * executable.make (EXTRA_SOURCES): New variable to add extra
157         sources to the program.
158
159 2004-07-30  Raja R Harinath  <harinath@blr-harinath.blr.novell.com>
160
161         * executable.make (PROGRAM_config): New auto-detecting define.
162         Defined if $(PROGRAM).config exists.
163         (install-local): Install $(PROGRAM_config) if it exists.
164
165 2004-07-21  Lluis Sanchez Gual  <lluis@novell.com>
166
167         * profiles/default.make, profiles/net_2_0.make, profiles/net_1_0.make:
168           Added FRAMEWORK_VERSION var.
169
170 2004-07-02  Raja R Harinath  <rharinath@novell.com>
171
172         Support for avoiding "sharing violations" while compiling core
173         libraries with an in-tree compiler.
174         * library.make (LIBRARY_USE_INTERMEDIATE_FILE): New toggle.
175         ($(the_lib)): Use it.
176
177 2004-07-02  Raja R Harinath  <rharinath@novell.com>
178
179         * rules.make (OVERRIDE_BARE_TARGETS): Remove.
180         (OVERRIDE_TARGET_ALL): New control for overriding the default all:
181         rule.  If set, 'make all' will run 'all.override' from the client
182         Makefile.
183         (all): Move commands ...
184         (all.real): ... here.  Make ordering assumptions explicit, and
185         parallel-safe.
186         (test,run-test,run-test-ondotnet,clean,install,uninstall):
187         Consolidate into ...
188         (STD_TARGETS): ... this new variable.  Make ordering assumption
189         between -recursive and -local targets explicit.
190         (%-recursive): Handle W32 GNU make that has --unix as the first
191         argument in $(MAKE).
192         * README.makefiles (Special recursion needs): Update to reflect
193         changes.
194         * library.make (all-local): Build $(the_lib_signature_stamp) when
195         NO_SIGN_ASSEMBLY is defined.
196         ($(gacutil),$(sn)): Consolidate rules.
197         (test-local,run-test-local,run-test-ondotnet-local): Likewise.
198
199 2004-07-02  Raja R Harinath  <rharinath@novell.com>
200         
201         * config-default.make (TEST_RUNTIME): Use 'mono' by default.
202         * platforms/win32.make (TEST_RUNTIME): Remove.
203         * profiles/default.make (TEST_RUNTIME): Remove.
204
205 2004-06-28  Raja R Harinath  <rharinath@novell.com>
206
207         * platforms/linux.make (RESGEN): Define using $(INTERNAL_RESGEN).
208
209 2004-06-21  Raja R Harinath  <rharinath@novell.com>
210
211         * executable.make ($(PROGRAM)): Move depend on the makefrags ...
212         (all-local): ... here.
213         * library.make ($(the_lib), $(test_lib), $(btest_lib), all-local):
214         Likewise.
215         (LIBRARY_SNK): New default define.  Allows library to be signed
216         with a key other than mono.snk.
217         ($(the_lib_signature_stamp)): New stamp file created when an
218         assembly is signed.
219         (install-local, uninstall-local, maybe-sign-lib): Set MONO_PATH.
220
221 2004-06-16  Raja R Harinath  <rharinath@novell.com>
222
223         * library.make ($(makefrag),$(test_makefrag),$(btest_makefrag)): 
224         Depend on library.make.
225         * executable.make ($(makefrag)): Depend on executable.make.
226
227 2004-06-16  Atsushi Enomoto  <atsushi@ximian.com>
228
229         * library.make : Added GACDIR. Use cygpath -w on windows.
230
231 2004-06-14  Raja R Harinath  <rharinath@novell.com>
232
233         * platforms/linux.make (PLATFORM_CHANGE_SEPARATOR_CMD): Define to 'cat'.
234         (PLATFORM_TWEAK_CORLIB_SOURCES): Remove.
235         (platform-check): Avoid bash-ism.
236         * library.make: Simplify uses of $(patsubst x,y,$(foo)) to $(foo:x=y).
237         (core_sourcefile): Rename back to ...
238         (sourcefile): ... this.  Remove creation of redundant intermediate file.
239         (response): Change test for optimization, now that
240         PLATFORM_CHANGE_SEPARATOR_CMD is unconditional.  Combine with
241         platform-exclude handling.
242         (library_CLEAN_FILES): New variable to specify clean:-able files
243         close to where they're defined.
244         (test_response, btest_response): Simplify.
245         * executable.make (response): Change test for optimization.
246         (executable_CLEAN_FILES): New define.
247
248 2004-06-14  Raja R Harinath  <rharinath@novell.com>
249
250         * library.make (uninstall-local): Fix typo.
251
252 2004-06-11  Atsushi Enomoto  <atsushi@ximian.com>
253
254         * library.make : HAVE_CS_TESTS fixie.
255
256 2004-06-11  Raja R Harinath  <rharinath@novell.com>
257
258         * library.make (HAVE_CS_TESTS, HAVE_VB_TESTS): Allow to be
259         overriden.  Useful if the tests sourcefile is generated.
260         (TEST_COMPILE, BTEST_COMPILE): Allow these to be customized too.
261
262         * platforms/win32.make (PLATFORM_TWEAK_CORLIB_SOURCES): Remove.
263
264         Support enough features to build mscorlib.dll.
265         * library.make (core_sourcefile): New renamed from $(sourcefile).
266         (PLATFORM_excludes): Auto-detecting define that sees if
267         $(LIBRARY).$(PLATFORM)-excludes file exists.
268         (sourcefile): New.  Possibly-built file that removes
269         PLATFORM_excluded files from core_sourcefile.
270         (test_against, test_dep): New.  Allow the test assembly to be
271         built against a different library.
272         (test_lib): Allow makefile to override the name of the test
273         assembly.
274         (LIBRARY_INSTALL_DIR): If defined, switch to using $(INSTALL_LIB)
275         rather than $(gacutil).
276         (DISTFILES, dist-local): Use core_sourcefile.
277         (clean-local): Remove sourcefile if it was generated.
278         (test_lib, btest_lib): Depend on $(test_dep).
279
280 2004-06-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
281
282         * library.make: fixed PLATFORM_CHANGE_SEPARATOR_CHAR on windows.
283
284 2004-06-09  Sebastien Pouliot  <sebastien@ximian.com>
285
286         * library.make: Added support to fully sign assemblies when doing a
287         "make install" (thanks to Jackson :-).
288
289 2004-06-09  Raja R Harinath  <rharinath@novell.com>
290
291         Do away with stampfiles.
292         Introduce support for VB test cases.
293         * library.make (HAVE_CS_TESTS, HAVE_VB_TESTS): New auto-detecting
294         defines.
295         (stampfile, test_stampfile): Remove.
296         (clean-local): Don't mention them.
297         (test-local, run-test-local, run-test-ondotnet-local):
298         Make unconditional.
299         ($(makefrag), $(test_makefrag)): Simplify.
300         ($(btest_lib)): New.  Support for VB testcases.
301
302 2004-06-09  Raja R Harinath  <rharinath@novell.com>
303
304         Partial support for writing Visual Basic source files.
305         * rules.make (USE_MBAS_FLAGS,BASCOMPILE,INTERNAL_MBAS): New.
306         * config-default.make (MBAS_FLAGS, DEFAULT_MBAS_FLAGS): New.
307         * profiles/default.make (MBAS): New.
308
309 2004-06-09  Raja R Harinath  <rharinath@novell.com>
310
311         Do away with stampfiles.
312         * executable.make (stampfile): Remove.
313         (clean-local): Remove mention of $(stampfile).
314         (test-local, run-test-local, run-test-ondotnet-local):
315         Make unconditional.  Add dummy rule to prevent other makefiles
316         from defining rules on these.
317         ($(PROGRAM)): Depend directly on $(BUILT_SOURCES).
318         ($(makefrag)): Simplify.
319
320 2004-06-03  Atsushi Enomoto  <atsushi@ximian.com>
321
322         * README.makefiles : added description for run-test-ondotnet.
323
324 2004-06-03  Atsushi Enomoto  <atsushi@ximian.com>
325
326         * Makefile, executable.make, library.make, rules.make :
327           Added new target "run-test-ondotnet" that works what "run-test"
328           used to be on windows (i.e. tests our libs under MS.NET).
329
330 2004-06-01  Atsushi Enomoto  <atsushi@ximian.com>
331
332         * platforms/win32.make : TEST_RUNTIME should be always mono we can't
333           test our libs against MS.NET runtime. Think about internal call).
334
335 2004-05-30  Jackson Harper  <jackson@ximian.com>
336
337         * library.make: Install to 2.0 package if building with the
338         net_2_0 profile.
339         
340 2004-05-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
341
342         * library.make: reference nunti.core.dll and nunit.util.dll when
343         building tests.
344
345 2004-05-26  Raja R Harinath  <rharinath@novell.com>
346
347         * library.make (clean-local): Add $(CLEAN_FILES) too.
348
349 2004-05-25  Sebastien Pouliot  <sebastien@ximian.com>
350
351         * library.make: changed case on nunit.framework.dll (lowercase)
352
353 2004-05-24  Raja R Harinath  <rharinath@novell.com>
354
355         * library.make (LIBRARY_COMPILE): New define.
356         ($(the_lib)): Use $(LIBRARY_COMPILE) to compile $(the_lib).
357
358         * executable.make (PROGRAM_INSTALL_DIR): Allow makefile to specify
359         a different directory for installation.
360         (install-local, uninstall-local): Use it.
361
362 2004-05-20  Raja R Harinath  <rharinath@novell.com>
363
364         * profiles/default.make (TEST_RUNTIME): Look in class/lib/default
365         for library to be tested.
366         * rules.make (INTERNAL_RESGEN): New Define.
367         * library.make (run-test-local): Move commands to run-test-lib.
368         Preparartion for allowing creation of addition test dll with .vb
369         testcases.
370         * executable.make (PROGRAM_COMPILE): New define.
371         ($(PROGRAM)): Use PROGRAM_COMPILE to compile PROGRAM.
372
373 2004-05-14  Jackson Harper  <jackson@ximian.com>
374
375         * library.make: Install package files. Get params in magical
376         correct order.
377         
378 2004-05-11  Jackson Harper  <jackson@ximian.com>
379
380         * platforms/linux.make:
381         * platforms/win32.make: Define a PLATFORM_PATH_SEPARATOR used for
382         separating paths in env vars. (ie MONO_PATH).
383         * profiles/net_2_0.make: Always use gmcs for building the 2.0
384         libraries. corlib is the first lib built and it will build gmcs.
385         
386 2004-05-11  Jackson Harper  <jackson@ximian.com>
387
388         * library.make: Allow assembly names to be different then their
389         .sources file names.
390         
391 2004-05-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
392
393         * library.make: build NUnit if we try to run 'make test' and the dll
394         is not found.
395
396 2004-04-29  Jackson Harper  <jackson@ximian.com>
397
398         * library.make: Fix uninstall
399         
400 2004-04-29  Martin Baulig  <martin@ximian.com>
401
402         * rules.make: Added `INTERNAL_ILASM'.
403
404 2004-04-29  Jackson Harper  <jackson@ximian.com>
405
406         * library.make: Use RUNTIME instead of PLATFORM_RUNTIME for the
407         gacutil. gacutil needs to be run on our runtime. Make dependancys
408         more sane.
409         
410 2004-04-28  Jackson Harper  <jackson@ximian.com>
411
412         * library.make: Use the proper runtime, make sure gacutil is
413         built.
414         
415 2004-04-28  Jackson Harper  <jackson@ximian.com>
416
417         * library.make: Install these bad actors to the GAC.
418         
419 2004-04-28  Raja R Harinath  <rharinath@novell.com>
420
421         * library.make (test_flags): NUnit.Framework.dll is now in
422         class/lib/$(PROFILE).
423
424 2004-04-26  Jackson Harper  <jackson@ximian.com>
425
426         * library.make:
427         * profiles/bootstrap.make:
428         * profiles/default.make: profiles are built in their ownb lib
429         directory now.
430         * profiles/net_2_0.make: new .net 2.0 profile.
431         
432 2004-04-22  Martin Baulig  <martin@ximian.com>
433
434         * profiles/net_1_2.make: Removed.
435         * profiles/martin-generics.make: Remove.
436
437 2004-04-19  Raja R Harinath  <rharinath@novell.com>
438
439         * rules.make (%-recursive): Honor 'make -k'.
440
441 2004-02-17  Martin Baulig  <martin@ximian.com>
442
443         * profiles/generics.make: Renamed to `martin-generics.make' and
444         added a comment to the file.  I'll rename this back when it's
445         ready for public use.
446
447 2003-12-17  Jackson Harper <jackson@ximian.com>
448
449         * profiles/default.make:
450         * profiles/net_1_0.make: Add ONLY_1_0 and ONLY_1_1 defines to fix
451         the build
452         
453 2003-12-08  Peter Williams  <peter@newton.cx>
454
455         * config-default.make: Don't check for / define
456         ECHO_ESCAPE: the check isn't smart enough and
457         apparently OS X's shell somehow doesn't support
458         escape characters.
459
460         * library.make: Use embedded tab instead of 
461         $(ECHO_ESCAPE). Fixes OS X build.
462         
463         * executable.make: Same.
464         
465 2003-12-05  Martin Baulig  <martin@ximian.com>
466
467         * profiles/generics.make: Define `GENERICS'.
468
469 2003-12-05  Martin Baulig  <martin@ximian.com>
470
471         * profiles/net_1_2.make: New profile; uses the .NET 1.2 API's, but
472         without generics and with mcs instead of gmcs.
473
474         * profiles/bootstrap.make: New profile; already use the newly
475         compiled mcs to compile corlib.
476
477 2003-12-04  Martin Baulig  <martin@ximian.com>
478
479         * profiles/generics.make: Use gmcs.
480
481 2003-11-12 Jackson Harper <jackson@ximian.com>
482
483         * rules.make: 
484         * platforms/linux.make: corlib name is now mscorlib.
485         
486 2003-11-09 Ben Maurer  <bmaurer@users.sourceforge.net>
487
488         * profiles/generics.make: add the -2 flag.
489
490 2003-10-28 Jackson Harper <jackson@ximian.com>
491
492         * platforms/linux.make: Tell users to read INSTALL.txt not the
493         non-existant README.building.
494         
495 2003-10-22  Dick Porter  <dick@ximian.com>
496
497         * platforms/win32.make:
498         * platforms/linux.make:
499         * rules.make: Added RESGEN platform-specific tool.
500
501 2003-08-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
502
503         * config-default.make: the /nowarn arguments are now set on a per
504         library basis.
505
506 2003-07-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
507
508         * executable.make: install-local depends on the program too.
509
510 2003-07-25  Peter Williams <peter@newton.cx>
511
512         * rules.make (run-test): Make it depend on 'test-local'
513         then 'run-test-local' after 'run-test-recursive'. This way,
514         'make run-test' from the toplevel doesn't recurse through all
515         the directories doing a make test before we run anything.
516
517 2003-07-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
518
519         * rules.make: run-test depends now on 'test'.
520
521 2003-07-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
522
523         * rules.make: set corlib to PLATFORM_CORLIB if this is defined.
524
525 2003-07-22  Peter Williams  <peter@newton.cx>
526
527         * rules.make (withmcs): Add this developer utility target.
528
529 2003-07-20  Peter Williams  <peter@newton.cx>
530
531         * README.platforms: Update docs for changes below.
532
533         * platforms/win32.make (PLATFORM_CORLIB): Set this variable
534         to 'mscorlib.dll', instead of $(corlib) which everything links
535         against. *Almost* everything should link against our corlib --
536         with the exception of corlib_cmp and corlib_res.
537
538         * platforms/linux.make: Same here: corlib.dll
539
540         * rules.make: Define $(corlib) here.
541
542 2003-07-20  Peter Williams  <peter@newton.cx>
543
544         * config-default.make (TEST_RUNTIME): Use the platform runtime
545         to run tests, by default.
546
547         * profiles/default.make (TEST_RUNTIME): If our test runtime is
548         mono, use the --debug flag.
549
550         * executable.make (sourcefile): Add a basename so that we can
551         find the nunit sources and so we behave a bit more like
552         library.make
553
554         * config-default.make (TEST_HARNESS): Find nunit-console in its
555         new home.
556
557 2003-07-20  Peter Williams  <peter@newton.cx>
558
559         * library.make ($(response)): Do a "Creating ..." line here.
560
561         * executable.make ($(response)): Same.
562
563         * config-default.make: Make warning more forceful.
564
565         * rules.make: Define a useful 'PLATFORM_MONO_NATIVE' that is
566         set if the platform does not have a native runtime (ie, linux).
567         Also reorder some definitions.
568
569 2003-07-20  Peter Williams  <peter@newton.cx>
570
571         * Created. See ../ChangeLog for entries earlier than
572         this.
573