summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAliaksey Kandratsenka <alk@tut.by>2015-08-02 18:11:04 -0700
committerAliaksey Kandratsenka <alk@tut.by>2015-08-02 18:12:16 -0700
commit09448a8fe977eaa083340c2504caac8820832179 (patch)
tree2e41ce5fe7a83569fef0766baca11235b83f38f0
parent73fb7c7eb37e488bab8298be4110e30d83af2184 (diff)
downloadgperftools-09448a8fe977eaa083340c2504caac8820832179.tar.gz
added tcmalloc_unittest path with TCMALLOC_HEAP_LIMIT_MB=512
I.e. so that we can exercise "voluntary" OOM conditions better.
-rwxr-xr-xsrc/tests/tcmalloc_unittest.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tests/tcmalloc_unittest.sh b/src/tests/tcmalloc_unittest.sh
index be03b64..755241e 100755
--- a/src/tests/tcmalloc_unittest.sh
+++ b/src/tests/tcmalloc_unittest.sh
@@ -73,4 +73,8 @@ echo -n "Testing $TCMALLOC_UNITTEST with TCMALLOC_AGGRESSIVE_DECOMMIT=f ... "
TCMALLOC_AGGRESSIVE_DECOMMIT=f run_unittest
+echo -n "Testing $TCMALLOC_UNITTEST with TCMALLOC_HEAP_LIMIT_MB=512 ... "
+
+TCMALLOC_HEAP_LIMIT_MB=512 run_unittest
+
echo "PASS"