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

Issue 1850273003: Combined test runner. (Closed)

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

Description

Combined test runner. 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/ Committed: https://pdfium.googlesource.com/pdfium/+/03e8f12cd3788038225d0376a164a9993f6cb720

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+244 lines, -418 lines) Patch
D testing/resources/pixel/font_size.pdf View 1 1 chunk +0 lines, -72 lines 0 comments Download
M testing/tools/run_corpus_tests.py View 1 chunk +3 lines, -164 lines 0 comments Download
M testing/tools/run_javascript_tests.py View 1 chunk +3 lines, -87 lines 0 comments Download
M testing/tools/run_pixel_tests.py View 1 chunk +3 lines, -95 lines 0 comments Download
A testing/tools/test_runner.py View 1 1 chunk +235 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
dsinclair
PTAL.
4 years, 8 months ago (2016-04-01 23:50:45 UTC) #2
dsinclair
ping.
4 years, 8 months ago (2016-04-05 13:15:06 UTC) #3
Tom Sepez
I'd like to defer to Lei, whose python-fu is better than mine.
4 years, 8 months ago (2016-04-05 16:39:53 UTC) #4
Lei Zhang
https://codereview.chromium.org/1850273003/diff/1/testing/tools/test_runner.py File testing/tools/test_runner.py (right): https://codereview.chromium.org/1850273003/diff/1/testing/tools/test_runner.py#newcode95 testing/tools/test_runner.py:95: if os.path.exists(original_path) and not os.path.exists(input_path): Can we combine this ...
4 years, 8 months ago (2016-04-05 23:33:24 UTC) #5
dsinclair
https://codereview.chromium.org/1850273003/diff/1/testing/tools/test_runner.py File testing/tools/test_runner.py (right): https://codereview.chromium.org/1850273003/diff/1/testing/tools/test_runner.py#newcode95 testing/tools/test_runner.py:95: if os.path.exists(original_path) and not os.path.exists(input_path): On 2016/04/05 23:33:24, Lei ...
4 years, 8 months ago (2016-04-06 13:39:33 UTC) #6
Lei Zhang
lgtm
4 years, 8 months ago (2016-04-06 19:14:28 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1850273003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1850273003/20001
4 years, 8 months ago (2016-04-06 19:15:09 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://pdfium.googlesource.com/pdfium/+/03e8f12cd3788038225d0376a164a9993f6cb720
4 years, 8 months ago (2016-04-06 19:15:30 UTC) #11
dsinclair
4 years, 8 months ago (2016-04-06 21:04:31 UTC) #12
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/1867643002/ by dsinclair@chromium.org.

The reason for reverting is: Broke Dr. Memory.

Powered by Google App Engine
This is Rietveld 408576698