d1e7a9a90c
Added new wrapper script webrtc_tests.bat for executing memory/threading tests on Windows. Updated webrtc_tests.sh to include modifications in chrome_tests.sh that has happened since we copied it. To setup TSAN for Windows, see http://www.chromium.org/developers/how-tos/using-valgrind/threadsanitizer I did like this: 1. Added "third_party/tsan": "http://src.chromium.org/chrome/trunk/deps/third_party/tsan" to custom_deps in my .gclient file 2. gclient sync 3. SET GYP_DEFINES=build_with_tool=tsan && gclient runhooks 4. Compiled. 5. Ran the test using the wrapper script (see below). To setup Dr Memory for Windows, see http://www.chromium.org/developers/how-tos/using-drmemory I did like this: 1. Added "third_party/drmemory": "http://src.chromium.org/svn/trunk/deps/third_party/drmemory", to custom_deps in my .gclient file (using the drmemory.DEPS as described on Chromium's wiki ends up in the wrong location) 2. gclient sync 3. SET GYP_DEFINES=build_with_tool=drmemory && gclient runhooks 4. Compiled. 5. Ran the test using the wrapper script (see below). TEST= On Windows: tools\valgrind-webrtc\webrtc_tests.bat --tool=tsan --test build\Debug\voice_engine_unittests.exe tools\valgrind-webrtc\webrtc_tests.bat --tool=drmemory_light --test build\Debug\voice_engine_unittests.exe tools\valgrind-webrtc\webrtc_tests.bat --tool=drmemory_full --test build\Debug\voice_engine_unittests.exe On Linux: tools/valgrind-webrtc/webrtc_tests.sh --tool=memcheck --test out/Release/test_support_unittests tools/valgrind-webrtc/webrtc_tests.sh --tool=tsan --test out/Release/test_support_unittests tools/valgrind-webrtc/webrtc_tests.sh --tool=asan --test out/Release/test_support_unittests Review URL: https://webrtc-codereview.appspot.com/845004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@2846 4adac7df-926f-26a2-2b94-8c16560cd09d |
||
---|---|---|
.. | ||
barcode_tools | ||
coverity | ||
e2e_quality | ||
matlab | ||
network_emulator | ||
python_charts | ||
quality_tracking | ||
refactoring | ||
resources | ||
valgrind-webrtc | ||
.gitignore | ||
codereview.settings | ||
create_supplement_gypi.py | ||
DEPS | ||
OWNERS | ||
PRESUBMIT.py |