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
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
#
# 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
$(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