[sgen] Add old forgotten oom tests to sgen oom suite
authorVlad Brezae <brezaevlad@gmail.com>
Fri, 31 Mar 2017 11:51:30 +0000 (14:51 +0300)
committerVlad Brezae <brezaevlad@gmail.com>
Tue, 4 Apr 2017 22:16:47 +0000 (01:16 +0300)
mono/tests/Makefile.am

index 1628d7a1a38ad7f11fd713c082cff82ce1f144e4..885335de3469ece7153128370b1788f6b099b8c0 100644 (file)
@@ -1510,7 +1510,9 @@ sgen-bridge3-tests-ms-split-tarjan-bridge: $(SGEN_BRIDGE3_TESTS) test-runner.exe
 SGEN_OOM_TESTS_SRC =   \
        sgen-oom-cementing-stress.cs    \
        sgen-oom-new-threads-dont-join-stw-2.cs \
-       sgen-oom-bridge-major-fragmentation.cs
+       sgen-oom-bridge-major-fragmentation.cs \
+       gc-oom-handling.exe     \
+       gc-oom-handling2.exe
 
 SGEN_OOM_TESTS=$(SGEN_OOM_TESTS_SRC:.cs=.exe)
 
@@ -1884,18 +1886,6 @@ test-process-exit:
        @diff -w threadpool-in-processexit.exe.stdout $(srcdir)/threadpool-in-processexit.exe.stdout.expected
 endif
 
-OOM_TESTS =    \
-       gc-oom-handling.exe     \
-       gc-oom-handling2.exe
-
-
-test-oom: $(OOM_TESTS)
-       @for fn in $+ ; do      \
-               echo "Testing $$fn ...";        \
-               MONO_GC_PARAMS=max-heap-size=16m MONO_ENV_OPTIONS="--gc=sgen"                     $(RUNTIME) $$fn > $$fn.stdout || exit 1;      \
-               MONO_GC_PARAMS=max-heap-size=16m                                                  $(RUNTIME) $$fn > $$fn.stdout || exit 1;      \
-       done
-
 if HOST_WIN32
 test-unhandled-exception-2:
 else