New tests.
[mono.git] / mcs / class / corlib / Makefile
index 49a2391c576ff8768324ceff416ec6a5176c84bd..4206ae2742ab1fd2622d311ab7771fdebe757575 100644 (file)
@@ -11,6 +11,8 @@ LIBRARY_USE_INTERMEDIATE_FILE = yes
 LIBRARY_COMPILE = $(BOOT_COMPILE)
 LIBRARY_INSTALL_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)
 
+AOT_IN_PROFILES = net_2_0 net_4_0
+
 RESOURCE_FILES = \
        resources/collation.core.bin \
        resources/collation.tailoring.bin \
@@ -21,20 +23,23 @@ RESOURCE_FILES = \
        resources/collation.cjkKOlv2.bin
 
 corlib_flags = -unsafe -nostdlib
-LOCAL_MCS_FLAGS = -nowarn:169,612,618,649 -d:INSIDE_CORLIB
-
-ifneq ($(FRAMEWORK_VERSION),1.0)
-LOCAL_MCS_FLAGS += -nowarn:414
-endif
+LOCAL_MCS_FLAGS = -nowarn:612,618 -d:INSIDE_CORLIB -d:LIBC
 
-TEST_MCS_FLAGS = -debug+ -debug:full -nowarn:168,219,618,672 -unsafe
+# System.IO/DirectoryInfoTest.cs needs Mono.Posix
+TEST_MCS_FLAGS = -debug+ -debug:full -nowarn:168,219,618,672 -unsafe -r:$(topdir)/class/lib/$(PROFILE)/Mono.Posix.dll -define:MONO_DATACONVERTER_STATIC_METHODS
 
 EXTRA_DISTFILES = \
        corlib.dll.win32-excludes               \
        Test/ms_run_test.sh                     \
        Test/resources/MyResources.resources    \
+       Test/resources/MyResources.de.resources \
        Test/resources/Empty.resources          \
        Test/resources/AFile.txt                \
+       Test/resources/StreamTest.resources     \
+       Test/resources/StreamTest.ja.resources  \
+       Test/resources/bug81759.resources       \
+       Test/resources/415628.bin               \
+       Test/resources/Fergie.GED               \
        $(RESOURCE_FILES)
 
 include $(topdir)/build/library.make
@@ -67,4 +72,6 @@ $(cmp_makefrag): $(cmp_response)
 # leading to a broken build.
 #
 # -include $(cmp_makefrag)
+
+$(cmp_response) $(cmp_makefrag): Makefile $(depsdir)/.stamp
 endif