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

Issue 1430623006: One test runner to rule them all. (Closed)

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

Description

One test runner to rule them all. 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. R=thestig@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/a1215ba51a235fb7abcb995f0e768ea0176d9275

Patch Set 1 #

Patch Set 2 : #

Total comments: 5

Patch Set 3 : #

Total comments: 12

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+238 lines, -315 lines) Patch
M testing/tools/run_corpus_tests.py View 1 chunk +3 lines, -155 lines 0 comments Download
M testing/tools/run_javascript_tests.py View 1 chunk +3 lines, -74 lines 0 comments Download
M testing/tools/run_pixel_tests.py View 1 chunk +3 lines, -86 lines 0 comments Download
A testing/tools/test_runner.py View 1 2 3 4 1 chunk +229 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (1 generated)
dsinclair
PTAL. Good idea or bad idea? Everything seems to be working locally, but need to ...
5 years, 1 month ago (2015-10-29 01:54:10 UTC) #2
dsinclair
On 2015/10/29 at 01:54:10, dsinclair wrote: > PTAL. > > Good idea or bad idea? ...
5 years, 1 month ago (2015-10-29 13:46:29 UTC) #3
dsinclair
On 2015/10/29 at 13:46:29, dsinclair wrote: > On 2015/10/29 at 01:54:10, dsinclair wrote: > > ...
5 years, 1 month ago (2015-10-29 14:00:57 UTC) #4
Tom Sepez
I think this is good, but get Lei to sign off as well. I'm suprised ...
5 years, 1 month ago (2015-10-29 16:35:43 UTC) #5
dsinclair
On 2015/10/29 at 16:35:43, tsepez wrote: > I think this is good, but get Lei ...
5 years, 1 month ago (2015-10-29 16:40:40 UTC) #6
Lei Zhang
https://codereview.chromium.org/1430623006/diff/20001/testing/tools/test_runner.py File testing/tools/test_runner.py (right): https://codereview.chromium.org/1430623006/diff/20001/testing/tools/test_runner.py#newcode29 testing/tools/test_runner.py:29: """Wrapper function to call GenerateAndTest() and redirect output to ...
5 years, 1 month ago (2015-10-29 17:35:01 UTC) #7
dsinclair
https://codereview.chromium.org/1430623006/diff/20001/testing/tools/test_runner.py File testing/tools/test_runner.py (right): https://codereview.chromium.org/1430623006/diff/20001/testing/tools/test_runner.py#newcode51 testing/tools/test_runner.py:51: def GenerateAndTest(self, input_filename, source_dir, redirect_output=False): On 2015/10/29 at 17:35:01, ...
5 years, 1 month ago (2015-10-29 17:36:46 UTC) #8
Lei Zhang
On 2015/10/29 17:36:46, dsinclair wrote: > Let me see what I can do and I'll ...
5 years, 1 month ago (2015-10-29 17:48:34 UTC) #9
dsinclair
PTAL. https://codereview.chromium.org/1430623006/diff/20001/testing/tools/test_runner.py File testing/tools/test_runner.py (right): https://codereview.chromium.org/1430623006/diff/20001/testing/tools/test_runner.py#newcode29 testing/tools/test_runner.py:29: """Wrapper function to call GenerateAndTest() and redirect output ...
5 years, 1 month ago (2015-11-02 15:22:52 UTC) #10
Lei Zhang
https://codereview.chromium.org/1430623006/diff/40001/testing/tools/test_runner.py File testing/tools/test_runner.py (right): https://codereview.chromium.org/1430623006/diff/40001/testing/tools/test_runner.py#newcode62 testing/tools/test_runner.py:62: no need for indentation since the above code is ...
5 years, 1 month ago (2015-11-03 03:11:21 UTC) #11
dsinclair
https://codereview.chromium.org/1430623006/diff/40001/testing/tools/test_runner.py File testing/tools/test_runner.py (right): https://codereview.chromium.org/1430623006/diff/40001/testing/tools/test_runner.py#newcode62 testing/tools/test_runner.py:62: On 2015/11/03 03:11:21, Lei Zhang wrote: > no need ...
5 years, 1 month ago (2015-11-03 14:29:13 UTC) #12
Lei Zhang
https://codereview.chromium.org/1430623006/diff/40001/testing/tools/test_runner.py File testing/tools/test_runner.py (right): https://codereview.chromium.org/1430623006/diff/40001/testing/tools/test_runner.py#newcode62 testing/tools/test_runner.py:62: On 2015/11/03 14:29:12, dsinclair wrote: > On 2015/11/03 03:11:21, ...
5 years, 1 month ago (2015-11-03 14:41:03 UTC) #13
Lei Zhang
lgtm
5 years, 1 month ago (2015-11-03 14:43:10 UTC) #14
dsinclair
Committed patchset #5 (id:80001) manually as a1215ba51a235fb7abcb995f0e768ea0176d9275 (presubmit successful).
5 years, 1 month ago (2015-11-03 15:09:25 UTC) #15
dsinclair
https://codereview.chromium.org/1430623006/diff/40001/testing/tools/test_runner.py File testing/tools/test_runner.py (right): https://codereview.chromium.org/1430623006/diff/40001/testing/tools/test_runner.py#newcode62 testing/tools/test_runner.py:62: On 2015/11/03 14:41:03, Lei Zhang wrote: > On 2015/11/03 ...
5 years, 1 month ago (2015-11-03 15:10:21 UTC) #16
dsinclair
5 years, 1 month ago (2015-11-03 15:10:22 UTC) #17
Message was sent while issue was closed.

          

Powered by Google App Engine
This is Rietveld 408576698