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

Issue 1452293002: Add Dr. Memory tool (Closed)

Created:
5 years, 1 month ago by zhaoqin1
Modified:
5 years, 1 month ago
Reviewers:
Lei Zhang, zhaoqin
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Add Dr. Memory tool This CL adds DrMemory-Windows-sfx.exe into tools/drmemory. It also adds a set of scripts from chromium/src/tools/valgrind for running Dr. Memory. Now we can run pdfium tests with Dr. Memory: $ .\tools\drmemory\scripts\pdfium_tests.bat -b out\Debug -t pdfium_unittests More update on scripts is required, but this should be a good start. Changes from chromium/src/tools/valgrind - rename chrome_tests.py to pdfium_tests.py - update pdfium_tests.bat - remove chrome tests in pdfium_tests.py - remove memcheck code in valgrind_test.py R=thestig@chromium.org BUG=pdfium:238 Committed: https://pdfium.googlesource.com/pdfium/+/4dcf313c46c176e5afa1328f5f07fce4e614366d

Patch Set 1 #

Patch Set 2 : Try again #

Total comments: 1

Patch Set 3 : remove old chromium tests in pdfium_test.py #

Total comments: 10

Patch Set 4 : remove more unused code #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1784 lines, -0 lines) Patch
A tools/drmemory/DrMemory-Windows-sfx.exe View Binary file 0 comments Download
A tools/drmemory/scripts/common.py View 1 chunk +252 lines, -0 lines 0 comments Download
A tools/drmemory/scripts/drmemory_analyze.py View 1 chunk +202 lines, -0 lines 0 comments Download
A tools/drmemory/scripts/logging_utils.py View 1 chunk +82 lines, -0 lines 0 comments Download
A tools/drmemory/scripts/path_utils.py View 1 chunk +84 lines, -0 lines 0 comments Download
A tools/drmemory/scripts/pdfium_tests.bat View 1 chunk +24 lines, -0 lines 0 comments Download
A tools/drmemory/scripts/pdfium_tests.py View 1 2 3 1 chunk +370 lines, -0 lines 0 comments Download
A tools/drmemory/scripts/valgrind_test.py View 1 chunk +770 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
zhaoqin1
5 years, 1 month ago (2015-11-17 20:10:37 UTC) #1
Lei Zhang
This is also uploaded from your chromium.org account. :)
5 years, 1 month ago (2015-11-17 20:29:56 UTC) #2
zhaoqin1
On 2015/11/17 20:29:56, Lei Zhang wrote: > This is also uploaded from your http://chromium.org account. ...
5 years, 1 month ago (2015-11-17 20:50:15 UTC) #3
zhaoqin
On 2015/11/17 20:50:15, zhaoqin1 wrote: > On 2015/11/17 20:29:56, Lei Zhang wrote: > > This ...
5 years, 1 month ago (2015-11-17 22:00:59 UTC) #4
Lei Zhang
I'll just use this one for review. Most of the files are just copied over ...
5 years, 1 month ago (2015-11-17 23:07:23 UTC) #5
zhaoqin
On 2015/11/17 23:07:23, Lei Zhang wrote: > I'll just use this one for review. > ...
5 years, 1 month ago (2015-11-17 23:27:04 UTC) #6
Lei Zhang
lgtm with some more cruft removed. https://codereview.chromium.org/1452293002/diff/40001/tools/drmemory/scripts/pdfium_tests.py File tools/drmemory/scripts/pdfium_tests.py (right): https://codereview.chromium.org/1452293002/diff/40001/tools/drmemory/scripts/pdfium_tests.py#newcode10 tools/drmemory/scripts/pdfium_tests.py:10: import multiprocessing no ...
5 years, 1 month ago (2015-11-17 23:33:05 UTC) #8
zhaoqin
Thanks for review. There are still many more to be removed/updated. It might be better ...
5 years, 1 month ago (2015-11-18 16:26:36 UTC) #10
zhaoqin1
5 years, 1 month ago (2015-11-18 17:08:28 UTC) #11
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
4dcf313c46c176e5afa1328f5f07fce4e614366d (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698