Add new test
[mono.git] / mono / tests / Makefile.am
index fa4c520d02f071a7a256696b13532be4cd657d34..e39d576373b9737b7b842f2993ec727943671d83 100644 (file)
@@ -140,7 +140,6 @@ BASE_TEST_CS_SRC=           \
        iface4.cs               \
        iface-large.cs          \
        virtual-method.cs       \
-       virtual-sync.cs \
        intptrcast.cs           \
        indexer.cs              \
        stream.cs               \
@@ -194,6 +193,7 @@ BASE_TEST_CS_SRC=           \
        marshal7.cs             \
        marshal8.cs             \
        marshal9.cs             \
+       marshalbool.cs          \
        marshal-valuetypes.cs   \
        test-byval-in-struct.cs \
        thread.cs               \
@@ -252,6 +252,7 @@ BASE_TEST_CS_SRC=           \
        test-type-ctor.cs       \
        soft-float-tests.cs     \
        thread-exit.cs          \
+       finalize-parent.cs      \
        assemblyresolve_event2.2.cs     \
        interlocked-2.2.cs      \
        pinvoke-2.2.cs          \
@@ -285,7 +286,22 @@ BASE_TEST_CS_SRC=          \
        generic-type-builder.2.cs       \
        generic-synchronized.2.cs       \
        generic-delegate-ctor.2.cs      \
+       generic-array-iface-set.2.cs    \
+       generic-typedef.2.cs    \
+       generic-marshalbyref.2.cs       \
+       bug-431413.2.cs \
+       bug-459285.2.cs \
+       generic-virtual-invoke.2.cs     \
+       bug-461198.2.cs \
+       generic-sealed-virtual.2.cs     \
+       generic-system-arrays.2.cs      \
+       generic-stack-traces.2.cs       \
+       generic-stack-traces2.2.cs      \
+       bug-472600.2.cs \
        recursive-generics.2.cs \
+       bug-473482.2.cs \
+       bug-473999.2.cs \
+       bug-479763.2.cs \
        bug-80392.2.cs          \
        dynamic-method-access.2.cs      \
        bug-82194.2.cs  \
@@ -316,7 +332,28 @@ BASE_TEST_CS_SRC=          \
        bug-81673.cs    \
        bug-81691.cs    \
        bug-80307.cs    \
-       bug-415577.cs
+       bug-415577.cs   \
+       filter-stack.cs \
+       vararg2.cs      \
+       bug-389886-sre-generic-interface-instances.cs   \
+       bug-461867.cs   \
+       bug-461941.cs   \
+       bug-461261.cs   \
+       bug-400716.cs   \
+       bug-462592.cs   \
+       bug-459094.cs   \
+       generic-unloading.2.cs  \
+       generic-unloading-sub.2.cs      \
+       bug-467456.cs   \
+       appdomain-unload-callback.cs    \
+       bug-472692.2.cs         \
+       gchandles.cs    \
+       interlocked-3.cs        \
+       interlocked-4.2.cs      \
+       finalizer-wait.cs       \
+       critical-finalizers.cs  \
+       appdomain-thread-abort.cs \
+       w32message.cs
 
 if AMD64
 TEST_CS_SRC = $(BASE_TEST_CS_SRC) async-exc-compilation.cs
@@ -348,9 +385,12 @@ if POWERPC
 PLATFORM_DISABLED_TESTS=finalizer-abort.exe finalizer-exception.exe finalizer-exit.exe
 endif
 
+# The two finalizer tests only work under sgen
 DISABLED_TESTS=                        \
        delegate-async-exception.exe    \
        bug-348522.2.exe        \
+       finalizer-wait.exe      \
+       critical-finalizers.exe \
        $(PLATFORM_DISABLED_TESTS)
 
 # These only compile with MS CSC
@@ -408,7 +448,12 @@ TEST_IL_SRC=                       \
        generic-valuetype-newobj2.2.il  \
        generic-valuetype-newobj.2.il   \
        generic-constrained.2.il        \
-       bug-81466.il
+       bug-81466.il    \
+       bug457574.il    \
+       bug445361.il    \
+       bug-463303.il   \
+       bug469742.2.il  \
+       bug-481403.il
 
 #      bug-318677.il
 
@@ -437,7 +482,7 @@ EXTRA_DIST=test-driver $(TEST_CS_SRC) $(TEST_IL_SRC) \
 
 # mkbundle works on ppc, but the pkg-config POC doesn't when run with make test
 if POWERPC
-test_platform:
+test_platform: testbundle
 else
 # Can't use mkbundle on win32 since there is no static build there
 # Can't run test-unhandled-exception on Windows because of all the debug popups...
@@ -448,13 +493,21 @@ test_platform:    testbundle test-iomap-regression
 endif
 endif
 
+#
+# Tests that the internals in mono/io-layer/messages.c are ok by triggering the 
+# code that checks that the table is properly sorted
+#
+test_messages: 
+       > test_messages.zero
+       $(JITTEST_PROG_RUN) w32message.exe >& w32message.allout && cmp test_messages.zero w32message.allout
+
 if INSTALL_2_1
 test_2_1 : test-coreclr-security
 else
 test_2_1 :
 endif
 
-test: assemblyresolve/test/asm.dll testjit test-type-load test-generic-sharing test_platform test_2_1
+test: assemblyresolve/test/asm.dll testjit test-type-load test-generic-sharing test_platform test_2_1 test_messages
 
 assemblyresolve/test/asm.dll:
        $(MAKE) -C assemblyresolve prereq
@@ -710,7 +763,13 @@ test-generic-sharing : generics-sharing.2.exe shared-generic-methods.2.exe \
                generic-valuetype-newobj.2.exe generic-valuetype-newobj2.2.exe  \
                generic-getgenericarguments.2.exe generic-type-builder.2.exe    \
                generic-synchronized.2.exe generic-delegate-ctor.2.exe          \
-               generic-constrained.2.exe
+               generic-constrained.2.exe bug-431413.2.exe                      \
+               generic-virtual-invoke.2.exe generic-typedef.2.exe              \
+               generic-marshalbyref.2.exe bug-459285.2.exe bug-461198.2.exe    \
+               generic-sealed-virtual.2.exe generic-system-arrays.2.exe        \
+               generic-stack-traces.2.exe generic-stack-traces2.2.exe          \
+               bug-472600.2.exe bug-473482.2.exe bug-473999.2.exe              \
+               bug-479763.2.exe
        @for fn in $+ ; do      \
                echo "Testing $$fn ...";        \
                MONO_GENERIC_SHARING=all $(RUNTIME) -O=gshared                $$fn > $$fn.stdout || exit 1;     \