webrtc/tools
kjellander@webrtc.org d1e7a9a90c ThreadSanitizer and Dr Memory for Windows
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
2012-09-28 15:34:18 +00:00
..
barcode_tools Making Java headless to save execution time 2012-09-06 09:33:08 +00:00
coverity Making Coverity Static Analyzer run properly on Windows 2012-05-14 14:18:53 +00:00
e2e_quality Reorganize voice_engine/. 2012-07-27 21:49:28 +00:00
matlab Swap colheaders for textdata in parseLog.m. 2011-12-08 20:56:53 +00:00
network_emulator Renamed to Network Emulator and improved error handling. 2012-06-01 08:42:17 +00:00
python_charts Initial version of code coverage tracker / dashboard for WebRTC. 2012-01-17 12:21:15 +00:00
quality_tracking Removed branch coverage since it turned out to be essentially useless as a metric. 2012-09-27 09:27:08 +00:00
refactoring Added a hack, python script for removing the logging of a trace depending on a keyword. Current implementation requires the keyword to be typed in the file; just change the 'trace_remove_key_word' from kTraceModuleCall to whatever. Hack should be fine since it works and it's a tool that has only limited utility. 2012-02-14 23:54:07 +00:00
resources Reverted download code and output that was done in https://webrtc-codereview.appspot.com/431003 (r1826) since it was reported to spam the output on some configurations. 2012-03-09 11:15:07 +00:00
valgrind-webrtc ThreadSanitizer and Dr Memory for Windows 2012-09-28 15:34:18 +00:00
.gitignore Moving buildbot to internal repository. 2012-06-20 07:55:41 +00:00
codereview.settings Try server and buildbot scripts now using Chromium scripts. 2012-03-27 15:57:30 +00:00
create_supplement_gypi.py Roll Chromium 122775:132375 (current Canary). 2012-04-17 01:19:27 +00:00
DEPS Moving buildbot to internal repository. 2012-06-20 07:55:41 +00:00
OWNERS Try server and buildbot scripts now using Chromium scripts. 2012-03-27 15:57:30 +00:00
PRESUBMIT.py Updates the PRESUBMIT.py to allow years from 2011 to the current year. 2012-08-31 07:07:11 +00:00