Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(100)

Unified Diff: tools/valgrind/valgrind.sh

Issue 335026: Set GTEST_DEATH_TEST_USE_FORK environment variable to make death tests valgri... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/valgrind/valgrind_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/valgrind/valgrind.sh
===================================================================
--- tools/valgrind/valgrind.sh (revision 30042)
+++ tools/valgrind/valgrind.sh (working copy)
@@ -97,9 +97,7 @@
# If it crashes on you in the Options menu, you hit bug 19751,
# comment out the G_DEBUG=fatal_warnings line.
#
-# --smc-check=all: handle v8's dynamic code generation.
-# (though we can probably remove that now that v8 is annotated).
-# --trace-children to follow into the renderer processes.
+# GTEST_DEATH_TEST_USE_FORK=1: make gtest death tests valgrind-friendly
#
# When everyone has the latest valgrind, we might want to add
# --show-possible=no
@@ -108,10 +106,10 @@
G_SLICE=always-malloc \
NSS_DISABLE_ARENA_FREE_LIST=1 \
G_DEBUG=fatal_warnings \
+GTEST_DEATH_TEST_USE_FORK=1 \
valgrind \
--tool=$TOOL_NAME \
--trace-children=yes \
--suppressions="$SUPPRESSIONS" \
- --smc-check=all \
"${DEFAULT_TOOL_FLAGS[@]}" \
"$@"
« no previous file with comments | « no previous file | tools/valgrind/valgrind_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698