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:
authorMartin Baulig <martin@novell.com>2004-09-14 20:16:47 +0400
committerMartin Baulig <martin@novell.com>2004-09-14 20:16:47 +0400
commit6468cf0cd013943503cdad87d4664f66570bb18a (patch)
treef394efaa6fd1f1b073f3acc620895f7f3d462eaa /mcs/errors/Makefile
parent9a474e16b32f7f80b3a37bfdd321378c0220b191 (diff)
2004-09-14 Martin Baulig <martin@ximian.com>
* Makefile: Put the old Makefile back. svn path=/trunk/mcs/; revision=33888
Diffstat (limited to 'mcs/errors/Makefile')
-rw-r--r--mcs/errors/Makefile27
1 files changed, 13 insertions, 14 deletions
diff --git a/mcs/errors/Makefile b/mcs/errors/Makefile
index f678800253d..8bb5bd00d11 100644
--- a/mcs/errors/Makefile
+++ b/mcs/errors/Makefile
@@ -2,16 +2,14 @@ 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 = MONO_PATH="$(topdir)/class/lib/$(PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_MCS)
-endif
-
+MCS = $(INTERNAL_MCS)
LOCAL_MCS_FLAGS = /nowarn:162 --wlevel 4
-GENERICS_COMPILE = $(CSCOMPILE) /target:library
+GMCS_COMPILE = $(RUNTIME) ../gmcs/gmcs.exe $(LOCAL_MCS_FLAGS)
+GENERICS_COMPILE = $(RUNTIME) ../gmcs/gmcs.exe $(LOCAL_MCS_FLAGS) /target:library
RUNTEST_PL = ./runtest.pl
@@ -23,6 +21,11 @@ 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 \
@@ -33,17 +36,13 @@ test-local:
# again, run-test is when the tests actually happen, so
# don't compile on make test.
-run-test-local: run-mcs-tests
-
-TEST_PROFILE=mcs
-
-ifeq (net_2_0, $(PROFILE))
-TEST_PROFILE=gmcs
-run-test-local: run-generics-tests
-endif
+run-test-local: run-mcs-tests run-gmcs-tests run-generics-tests
run-mcs-tests:
- @ ./do-tests.pl $(TEST_PROFILE) "$(CSCOMPILE)" "cs*.cs"
+ @ ./do-tests.pl mcs "$(CSCOMPILE)" "cs*.cs"
+
+run-gmcs-tests:
+ @ ./do-tests.pl gmcs "$(GMCS_COMPILE)" "cs*.cs"
run-generics-tests:
@ ./do-tests.pl generics "$(GENERICS_COMPILE)" "gcs*.cs"