Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaja R Harinath <harinath@hurrynot.org>2004-09-14 12:30:20 +0400
committerRaja R Harinath <harinath@hurrynot.org>2004-09-14 12:30:20 +0400
commitffac59b268ca4d9a7d38eb3ff8b5abac270ca9e7 (patch)
tree63dd0dd1b50b1ce6979e11ac8420e7501f33e594 /mcs/errors/Makefile
parent1349f1fc7584208040c40c39b74b459c4d4f4840 (diff)
(MCS) [PROFILE=default]: Force testing of 'mcs'.
(test-everything): Remove. (TEST_PROFILE): New. (run-mcs-tests, run-gmcs-tests): Unify using TEST_PROFILE. (run-test-local) [PROFILE=net_2_0]: Run generics tests. svn path=/trunk/mcs/; revision=33858
Diffstat (limited to 'mcs/errors/Makefile')
-rw-r--r--mcs/errors/Makefile27
1 files changed, 14 insertions, 13 deletions
diff --git a/mcs/errors/Makefile b/mcs/errors/Makefile
index 8bb5bd00d11..f678800253d 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,17 @@ 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
+
+run-mcs-tests:
+ @ ./do-tests.pl $(TEST_PROFILE) "$(CSCOMPILE)" "cs*.cs"
run-generics-tests:
@ ./do-tests.pl generics "$(GENERICS_COMPILE)" "gcs*.cs"