Author: raja
Date: 2008-01-12 00:09:43 -0500 (Sat, 12 Jan 2008)
New Revision: 92719
Modified:
trunk/mcs/class/Makefile
trunk/mcs/errors/ChangeLog
trunk/mcs/errors/Makefile
trunk/mcs/tests/ChangeLog
trunk/mcs/tests/Makefile
Log:
* errors/Makefile (VALID_PROFILE): New. Disable tests for other profiles.
* tests/Makefile (VALID_PROFILE): New. Disable tests for other profiles.
Modified: trunk/mcs/class/Makefile
===================================================================
--- trunk/mcs/class/Makefile 2008-01-12 04:25:43 UTC (rev 92718)
+++ trunk/mcs/class/Makefile 2008-01-12 05:09:43 UTC (rev 92719)
@@ -109,7 +109,7 @@
System \
System.Xml.Core \
System.Core \
-
+
net_3_5_dirs := \
System.Xml.Linq \
System.Web.Extensions \
Modified: trunk/mcs/errors/ChangeLog
===================================================================
--- trunk/mcs/errors/ChangeLog 2008-01-12 04:25:43 UTC (rev 92718)
+++ trunk/mcs/errors/ChangeLog 2008-01-12 05:09:43 UTC (rev 92719)
@@ -1,3 +1,7 @@
+2008-01-12 Raja R Harinath <[EMAIL PROTECTED]>
+
+ * Makefile (VALID_PROFILE): New. Disable tests for other profiles.
+
2008-01-06 Gert Driesen <[EMAIL PROTECTED]>
* gcs0281.cs: Modified expected error message now that fix for bug
Modified: trunk/mcs/errors/Makefile
===================================================================
--- trunk/mcs/errors/Makefile 2008-01-12 04:25:43 UTC (rev 92718)
+++ trunk/mcs/errors/Makefile 2008-01-12 05:09:43 UTC (rev 92719)
@@ -42,12 +42,14 @@
CS2015-lib.dll CS3005-16-lib.dll CS3013-module.dll
CSExternAlias-lib.dll \
$(EXTRA_SUPPORT_FILES)
-all-local:
+# mention all targets
+all-local $(STD_TARGETS:=-local):
+VALID_PROFILE := $(filter default net_2_0 net_2_1, $(PROFILE))
+ifdef VALID_PROFILE
+
test-local: $(TEST_SUPPORT_FILES)
-run-test-ondotnet-local:
-
# again, run-test is when the tests actually happen, so
# don't compile on make test.
@@ -89,3 +91,5 @@
%-lib.dll: %-lib.il
$(ILASM) /dll /out:$@ $<
+
+endif
Modified: trunk/mcs/tests/ChangeLog
===================================================================
--- trunk/mcs/tests/ChangeLog 2008-01-12 04:25:43 UTC (rev 92718)
+++ trunk/mcs/tests/ChangeLog 2008-01-12 05:09:43 UTC (rev 92719)
@@ -1,3 +1,7 @@
+2008-01-12 Raja R Harinath <[EMAIL PROTECTED]>
+
+ * Makefile (VALID_PROFILE): New. Disable tests for other profiles.
+
2008-01-01 Gert Driesen <[EMAIL PROTECTED]>
* test-607.cs: test for bug #351055.
Modified: trunk/mcs/tests/Makefile
===================================================================
--- trunk/mcs/tests/Makefile 2008-01-12 04:25:43 UTC (rev 92718)
+++ trunk/mcs/tests/Makefile 2008-01-12 05:09:43 UTC (rev 92719)
@@ -25,10 +25,12 @@
USE_MCS_FLAGS :=
-all-local install-local uninstall-local:
+# mention all targets
+all-local $(STD_TARGETS:=-local):
+VALID_PROFILE := $(filter default net_2_0 net_2_1, $(PROFILE))
+ifdef VALID_PROFILE
# casts
-
bootstrap-cast.exe: gen-cast-test.cs
$(BOOT_COMPILE) -target:exe /out:$@ $<
@@ -72,9 +74,6 @@
run-test-local: $(TEST_ILS:.il=.dll)
MONO_RUNTIME='$(RUNTIME)' $(TEST_RUNTIME) $(RUNTIME_FLAGS)
$(topdir)/class/lib/$(PROFILE)/compiler-tester.exe positive $(TEST_PATTERN)
$(COMPILER) known-issues-$(COMPILER_NAME) $(COMPILER_NAME).log
-# do nothing for this target
-run-test-ondotnet-local:
-
test-everything:
$(MAKE) PROFILE=default run-test
$(MAKE) PROFILE=net_2_0 run-test
@@ -103,3 +102,5 @@
$(CSCOMPILE) /r:property-il.dll property-main.cs /out:property-main.exe
$(TEST_RUNTIME) property-main.exe
endif
+
+endif
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches