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

Issue 12193015: PPAPI/NaCl: Make related tests run in 1 fixture (Closed)

Created:
7 years, 10 months ago by dmichael (off chromium)
Modified:
7 years, 9 months ago
CC:
chromium-reviews, native-client-reviews_googlegroups.com
Visibility:
Public.

Description

PPAPI/NaCl: Make related tests run in 1 fixture I've only converted WebSockets tests in this CL. The idea is that the bulk of the test time is actually from starting up the test: - Starting HTTP and/or WebSocket and/or SSL server - Launching the renderer - Launching the NaCl loader - Downloading, validating, launching the .nexe Now this all happens once for all WebSocket sub-tests (times 4: in-process, out-of-process, NaCl Newlib, NaCl Glibc). Locally, the time goes from about 5 minutes to less than 20 seconds. The trick is now we can still enable/disable the individual tests from within ppapi_browsertest.cc. BUG=117173 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=183319

Patch Set 1 #

Patch Set 2 : Add individual test times, cleanup #

Patch Set 3 : pre-review cleanup #

Total comments: 10

Patch Set 4 : Review comments, try to fix failing tests #

Patch Set 5 : Fix broker & input event tests, merge #

Patch Set 6 : Clean up tokenizing code #

Patch Set 7 : merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+517 lines, -316 lines) Patch
M chrome/test/ppapi/ppapi_browsertest.cc View 1 2 3 4 5 6 28 chunks +262 lines, -235 lines 0 comments Download
M chrome/test/ppapi/ppapi_test.cc View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M ppapi/tests/test_broker.cc View 1 2 3 4 1 chunk +6 lines, -7 lines 0 comments Download
M ppapi/tests/test_buffer.cc View 1 1 chunk +4 lines, -4 lines 0 comments Download
M ppapi/tests/test_case.h View 1 2 3 4 9 chunks +72 lines, -19 lines 0 comments Download
M ppapi/tests/test_case.cc View 1 2 3 4 5 2 chunks +97 lines, -3 lines 0 comments Download
M ppapi/tests/test_image_data.cc View 1 1 chunk +7 lines, -7 lines 0 comments Download
M ppapi/tests/test_input_event.cc View 1 2 3 4 1 chunk +9 lines, -13 lines 0 comments Download
M ppapi/tests/test_scrollbar.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ppapi/tests/testing_instance.h View 1 2 3 4 5 6 3 chunks +13 lines, -11 lines 0 comments Download
M ppapi/tests/testing_instance.cc View 1 2 3 4 5 6 6 chunks +44 lines, -14 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
dmichael (off chromium)
Not the prettiest CL, sorry :( https://codereview.chromium.org/12193015/diff/9001/chrome/test/ppapi/ppapi_browsertest.cc File chrome/test/ppapi/ppapi_browsertest.cc (left): https://codereview.chromium.org/12193015/diff/9001/chrome/test/ppapi/ppapi_browsertest.cc#oldcode74 chrome/test/ppapi/ppapi_browsertest.cc:74: } These don't ...
7 years, 10 months ago (2013-02-06 00:40:43 UTC) #1
Nick Bray (chromium)
I am semi-concerned about this CL. To point out the obvious: 1) --gtest_filter can't select ...
7 years, 10 months ago (2013-02-06 00:52:01 UTC) #2
bbudge
https://codereview.chromium.org/12193015/diff/9001/chrome/test/ppapi/ppapi_browsertest.cc File chrome/test/ppapi/ppapi_browsertest.cc (right): https://codereview.chromium.org/12193015/diff/9001/chrome/test/ppapi/ppapi_browsertest.cc#newcode25 chrome/test/ppapi/ppapi_browsertest.cc:25: // to turn names in to DISABLED_Foo, but still ...
7 years, 10 months ago (2013-02-06 14:51:26 UTC) #3
dmichael (off chromium)
Yeah, I don't love it either, but I do think it's worth it. You're right ...
7 years, 10 months ago (2013-02-06 17:27:29 UTC) #4
dmichael (off chromium)
Yeah, I don't love it either, but I do think it's worth it. You're right ...
7 years, 10 months ago (2013-02-06 17:27:30 UTC) #5
Nick Bray (chromium)
To be explicit, I am not blocking, just asking questions.
7 years, 10 months ago (2013-02-06 23:30:58 UTC) #6
dmichael (off chromium)
On 2013/02/06 23:30:58, Nick Bray (chromium) wrote: > To be explicit, I am not blocking, ...
7 years, 10 months ago (2013-02-07 19:17:54 UTC) #7
bbudge
LGTM
7 years, 10 months ago (2013-02-07 19:45:20 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmichael@chromium.org/12193015/19001
7 years, 10 months ago (2013-02-19 21:18:21 UTC) #9
commit-bot: I haz the power
7 years, 10 months ago (2013-02-19 23:36:25 UTC) #10
Message was sent while issue was closed.
Change committed as 183319

Powered by Google App Engine
This is Rietveld 408576698