DescriptionPPAPI/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 #
Messages
Total messages: 10 (0 generated)
|