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

Issue 1888673003: Re-Reland Combined test runner. (Closed)

Created:
4 years, 8 months ago by dsinclair
Modified:
4 years, 8 months ago
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium.git@master
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

Re-Reland Combined test runner. Original Commit Message: This CL revives the old CL to combine the test runners [1] which was reverted due to failing font_size tests. I've deleted the font_size.pdf as it is not needed and for testing. Pixel tests are either .in or .pdf files, not both. Original description: This CL takes the three test runners (corpus, javascript, pixel) and combines the code into a single test_runner file. Each of the individual runners still exists and calls the test runner with their data directory. With this change, the pixel and javascript test will now run in parallel if multiple processors are available. 1-https://codereview.chromium.org/1430623006/ BUG= Committed: https://pdfium.googlesource.com/pdfium/+/84b26ec6ba8193235ce0df817dec5c0f1da29841

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : Rebase to master #

Total comments: 2

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+259 lines, -427 lines) Patch
D testing/resources/pixel/font_size.pdf View 1 chunk +0 lines, -72 lines 0 comments Download
M testing/tools/common.py View 1 2 chunks +8 lines, -0 lines 0 comments Download
M testing/tools/run_corpus_tests.py View 1 2 1 chunk +3 lines, -166 lines 0 comments Download
M testing/tools/run_javascript_tests.py View 1 chunk +3 lines, -90 lines 0 comments Download
M testing/tools/run_pixel_tests.py View 1 2 1 chunk +3 lines, -99 lines 0 comments Download
A testing/tools/test_runner.py View 1 2 3 1 chunk +242 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (7 generated)
dsinclair
I don't know why this breaks Dr.Memory. It's just the pixel and Javascript tests, Corpus ...
4 years, 8 months ago (2016-04-14 13:21:00 UTC) #2
Oliver Chang
+zhaoqin. Any ideas why this is happening?
4 years, 8 months ago (2016-04-14 15:49:06 UTC) #4
zhaoqin1
On 2016/04/14 15:49:06, Oliver Chang wrote: > +zhaoqin. Any ideas why this is happening? On ...
4 years, 8 months ago (2016-04-15 15:16:07 UTC) #5
zhaoqin1
https://codereview.chromium.org/1888673003/diff/1/testing/tools/run_javascript_tests.py File testing/tools/run_javascript_tests.py (left): https://codereview.chromium.org/1888673003/diff/1/testing/tools/run_javascript_tests.py#oldcode35 testing/tools/run_javascript_tests.py:35: cmd_to_run.extend([pdfium_test_path, pdf_path]) we run DrM with the pdfium test ...
4 years, 8 months ago (2016-04-15 15:16:25 UTC) #6
dsinclair
On 2016/04/15 15:16:25, zhaoqin1 wrote: > https://codereview.chromium.org/1888673003/diff/1/testing/tools/run_javascript_tests.py > File testing/tools/run_javascript_tests.py (left): > > https://codereview.chromium.org/1888673003/diff/1/testing/tools/run_javascript_tests.py#oldcode35 > ...
4 years, 8 months ago (2016-04-18 13:53:27 UTC) #7
zhaoqin1
On 2016/04/18 13:53:27, dsinclair wrote: > On 2016/04/15 15:16:25, zhaoqin1 wrote: > > > https://codereview.chromium.org/1888673003/diff/1/testing/tools/run_javascript_tests.py ...
4 years, 8 months ago (2016-04-18 15:25:06 UTC) #8
dsinclair
PTAL. Moved the fixup call outside of the Dr. Memory call.
4 years, 8 months ago (2016-04-18 17:04:17 UTC) #10
dsinclair
ping. Tom, can you take a quick peek to make sure I merged your change ...
4 years, 8 months ago (2016-04-19 13:24:17 UTC) #12
Tom Sepez
lgtm https://codereview.chromium.org/1888673003/diff/60001/testing/tools/test_runner.py File testing/tools/test_runner.py (right): https://codereview.chromium.org/1888673003/diff/60001/testing/tools/test_runner.py#newcode171 testing/tools/test_runner.py:171: '--show-config']) nit: alignment with opening [
4 years, 8 months ago (2016-04-19 17:43:37 UTC) #13
dsinclair
https://codereview.chromium.org/1888673003/diff/60001/testing/tools/test_runner.py File testing/tools/test_runner.py (right): https://codereview.chromium.org/1888673003/diff/60001/testing/tools/test_runner.py#newcode171 testing/tools/test_runner.py:171: '--show-config']) On 2016/04/19 17:43:37, Tom Sepez wrote: > nit: ...
4 years, 8 months ago (2016-04-19 20:08:02 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1888673003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1888673003/80001
4 years, 8 months ago (2016-04-20 12:54:03 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:80001) as https://pdfium.googlesource.com/pdfium/+/84b26ec6ba8193235ce0df817dec5c0f1da29841
4 years, 8 months ago (2016-04-20 12:54:19 UTC) #19
dsinclair
4 years, 8 months ago (2016-04-20 14:05:18 UTC) #20
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:80001) has been created in
https://codereview.chromium.org/1898353004/ by dsinclair@chromium.org.

The reason for reverting is: Dr.Memory code is wrong......

Powered by Google App Engine
This is Rietveld 408576698