diff options
author | Raja R Harinath <harinath@hurrynot.org> | 2004-09-27 15:59:23 +0400 |
---|---|---|
committer | Raja R Harinath <harinath@hurrynot.org> | 2004-09-27 15:59:23 +0400 |
commit | 30140da798fd6541cb984401f3f49542514dda5c (patch) | |
tree | ba54aa449c8a9e2f361bf5e0e96cfb57481d9880 /mcs/errors/Makefile | |
parent | 4c84313be5389f97e1796475aaf93528da854a82 (diff) |
Re-apply changes from 2004-09-14.
(test-everything): Run tests in both profiles.
svn path=/trunk/mcs/; revision=34431
Diffstat (limited to 'mcs/errors/Makefile')
-rw-r--r-- | mcs/errors/Makefile | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/mcs/errors/Makefile b/mcs/errors/Makefile index 8bb5bd00d11..afafc1432cd 100644 --- a/mcs/errors/Makefile +++ b/mcs/errors/Makefile @@ -2,14 +2,16 @@ thisdir = errors SUBDIRS = include ../build/rules.make +ifeq (default, $(PROFILE)) # force this, we don't case if CSC is broken. This also # means we can use --options, yay. -MCS = $(INTERNAL_MCS) +MCS = MONO_PATH="$(topdir)/class/lib/$(PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_MCS) +endif + LOCAL_MCS_FLAGS = /nowarn:162 --wlevel 4 -GMCS_COMPILE = $(RUNTIME) ../gmcs/gmcs.exe $(LOCAL_MCS_FLAGS) -GENERICS_COMPILE = $(RUNTIME) ../gmcs/gmcs.exe $(LOCAL_MCS_FLAGS) /target:library +GENERICS_COMPILE = $(CSCOMPILE) /target:library RUNTEST_PL = ./runtest.pl @@ -21,11 +23,6 @@ DISTFILES = \ runtest.pl \ $(wildcard *.cs) -# -# This is the target which is run by buildbot. -# -test-everything: run-test-local - #all-local: run-test-local test-multi-local all-local: CS0571-3-lib.dll CS0618-2-lib.dll \ CS0619-8-lib.dll CS0619-17-lib.dll CS0619-32-lib.dll CS0619-33-lib.dll CS0619-36-lib.dll \ @@ -36,13 +33,21 @@ test-local: # again, run-test is when the tests actually happen, so # don't compile on make test. -run-test-local: run-mcs-tests run-gmcs-tests run-generics-tests +run-test-local: run-mcs-tests -run-mcs-tests: - @ ./do-tests.pl mcs "$(CSCOMPILE)" "cs*.cs" +TEST_PROFILE=mcs -run-gmcs-tests: - @ ./do-tests.pl gmcs "$(GMCS_COMPILE)" "cs*.cs" +ifeq (net_2_0, $(PROFILE)) +TEST_PROFILE=gmcs +run-test-local: run-generics-tests +endif + +test-everything: + $(MAKE) PROFILE=default run-test + $(MAKE) PROFILE=net_2_0 run-test + +run-mcs-tests: + @ ./do-tests.pl $(TEST_PROFILE) "$(CSCOMPILE)" "cs*.cs" run-generics-tests: @ ./do-tests.pl generics "$(GENERICS_COMPILE)" "gcs*.cs" |