2004-01-01 Nick Drochak <ndrochak@gol.com>
[mono.git] / mcs / tests / Makefile
index 1bce2ed1d926e57b085c2529cef1dbac0e9bc7e6..6064dbfea356bda3a66796c71907a77e2837f78f 100644 (file)
@@ -34,7 +34,8 @@ TEST_SOURCES = \
        test-181 test-182 test-183 test-184 test-185 test-186 test-187 test-188 test-189 test-190 \
        test-191 test-192 test-193 test-194 test-195 test-196 test-197 test-198 test-199 test-200 \
        test-201 test-202 test-203 test-204 test-205 test-206 test-207 test-208 test-209 test-210 \
-       test-211 test-212 test-213 test-214 test-215 test-216 test-217 test-218
+       test-211 test-212 test-213 test-214 test-215 test-216 test-217 test-218 test-219 test-220 \
+       test-221
 
 #
 # C# 2.0 tests 
@@ -87,7 +88,7 @@ test-local:
 run-test-local: test-compiler-jit test-unsafe-compiler-jit test-casts
 
 clean-local:
-       rm -f *.exe *.out *.pdb casts.cs
+       rm -f *.exe *.netmodule *.out *.pdb casts.cs
 
 dist-local: dist-default
        rm -f $(distdir)/casts.cs
@@ -157,6 +158,8 @@ multi-1:
 #
 # Tests that the order for internal/public in external 
 # assemblies does not affect the outcome of a build.
+# also checks that multiple `entry points' can be declared
+# in a library. (eg, that it is not confused by two Main methods)
 #
 multi-2:
        $(INTERNAL_MCS) /target:library pi.cs
@@ -168,3 +171,9 @@ multi-3:
        $(INTERNAL_MCS) /target:library conv-lib.cs
        $(INTERNAL_MCS) /r:conv-lib.dll conv-main.cs
        $(TEST_RUNTIME) conv-main.exe
+
+multi-4:
+       $(INTERNAL_MCS) /target:module module-1.cs
+       $(INTERNAL_MCS) /target:module module-2.cs
+       $(INTERNAL_MCS) /addmodule:module-1.netmodule /addmodule:module-2.netmodule module-3.cs
+       $(TEST_RUNTIME) module-3.exe