2009-06-17 Marek Safar <marek.safar@gmail.com>
authorMarek Safar <marek.safar@gmail.com>
Wed, 17 Jun 2009 18:16:52 +0000 (18:16 -0000)
committerMarek Safar <marek.safar@gmail.com>
Wed, 17 Jun 2009 18:16:52 +0000 (18:16 -0000)
* Makefile: Keep at least one target usable for me.

svn path=/trunk/mcs/; revision=136337

mcs/errors/ChangeLog
mcs/errors/Makefile
mcs/errors/cs0178-2.cs [deleted file]

index 04571785ad826c80c972c129822c4a1b0975ac42..471c30eeb8a3c11406ce8a63e459f51bfa0f5031 100644 (file)
@@ -1,3 +1,7 @@
+2009-06-17 Marek Safar <marek.safar@gmail.com>
+
+       * Makefile: Keep at least one target usable for me.
+
 2009-06-16  Raja R Harinath  <harinath@hurrynot.org>
 
        Improve profile test coverage
index 2ae411e5e4d3d85e2c58778e1e8826c418986262..53513a0b67b24a7305bf4a810d20f6406ed55afa 100644 (file)
@@ -3,7 +3,6 @@ SUBDIRS =
 include ../build/rules.make
 
 with_mono_path = MONO_PATH="$(topdir)/class/lib/$(PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH"
-with_mono_path_n11b = MONO_PATH="$(topdir)/class/lib/net_1_1_bootstrap$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH"
 
 ifeq (net_1_1, $(PROFILE))
 # force this, we don't case if CSC is broken. This also
@@ -14,10 +13,8 @@ else
 EXTRA_SUPPORT_FILES = CSFriendAssembly-lib.dll GCS0122-2-lib.dll GCS0730-lib.dll GCS0733-lib.dll GCS1685-lib.dll
 endif
 
-ilasm = $(topdir)/class/lib/net_1_1_bootstrap/ilasm.exe
-ILASM = $(with_mono_path_n11b) $(RUNTIME) $(RUNTIME_FLAGS) $(ilasm)
-
-GENERICS_COMPILE = $(CSCOMPILE) /target:library
+ilasm = $(topdir)/class/lib/$(PROFILE)/ilasm.exe
+ILASM = $(with_mono_path) $(RUNTIME) $(RUNTIME_FLAGS) $(ilasm)
 
 DISTFILES = \
        CONTRIBUTORS_README     \
@@ -48,7 +45,7 @@ all-local $(STD_TARGETS:=-local):
 VALID_PROFILE := $(filter net_1_1 net_2_0 net_2_1, $(PROFILE))
 ifdef VALID_PROFILE
 
-check: run-test-local
+check: run-mcs-tests 
 
 # again, run-test is when the tests actually happen, so
 # don't compile on make test.
@@ -56,7 +53,7 @@ check: run-test-local
 test-local:
        @:
 
-run-test-local: run-mcs-tests 
+run-test-local: clean-local run-mcs-tests
 
 test-everything:
        $(MAKE) PROFILE=net_1_1 run-test
@@ -80,9 +77,7 @@ COMPILER = $(topdir)/class/lib/$(PROFILE)/$(COMPILER_NAME).exe
 TESTER = MONO_RUNTIME='$(RUNTIME)' $(TEST_RUNTIME) $(RUNTIME_FLAGS) $(LOCAL_RUNTIME_FLAGS) $(topdir)/class/lib/$(PROFILE)/compiler-tester.exe
 
 run-mcs-tests: $(TEST_SUPPORT_FILES)
-       rm -f *.exe *.mdb
        $(TESTER) -mode:neg -files:$(TEST_PATTERN) -compiler:$(COMPILER) -issues:known-issues-$(COMPILER_NAME) -log:$(COMPILER_NAME).log $(TESTER_OPTIONS)
-       -rm -f $(TEST_SUPPORT_FILES)
 
 cecil:
        $(TESTER) -mode:neg -files:$(TEST_PATTERN) -compiler:../tests/gmcs.exe -issues:known-issues-$(COMPILER_NAME) -log:$(COMPILER_NAME).log $(TESTER_OPTIONS) -verbose
diff --git a/mcs/errors/cs0178-2.cs b/mcs/errors/cs0178-2.cs
deleted file mode 100755 (executable)
index 31e8f09..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-// CS0178: Invalid rank specifier: expected `,' or `]'
-// Line: 8
-
-public class Blah {
-       
-       public static void Main ()
-       {
-               int [,] i = new int [][2];
-       }
-}