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

Issue 16066003: Add wtf_unittests target that links unit tests outside DLL (Closed)

Created:
7 years, 7 months ago by jamesr
Modified:
7 years, 6 months ago
CC:
blink-reviews, loislo+blink_chromium.org, eae+blinkwatch, yurys+blink_chromium.org, abarth-chromium, adamk+blink_chromium.org, jeez
Visibility:
Public.

Description

Add wtf_unittests target that links unit tests outside DLL This moves the wtf unittests out of the webkit_unit_tests target and into a dedicated gtest executable. This target builds and links much faster since it's tiny and moves the tests outside the DLL. This target is in all_webkit, but annoyingly we'll have to configure the bots to run this step. R=abarth@chromium.org, darin@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=151305

Patch Set 1 #

Total comments: 2

Patch Set 2 : reuse config.gyp #

Patch Set 3 : reuse config.gyp #

Patch Set 4 : #

Patch Set 5 : Separate run_all_tests lib #

Total comments: 4

Patch Set 6 : factor shared stuff into config.gyp:unittest_config #

Patch Set 7 : Add base dependency for allocator target #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -33 lines) Patch
M Source/WebKit/chromium/WebKitUnitTests.gyp View 1 chunk +0 lines, -1 line 0 comments Download
M Source/bindings/bindings.gyp View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M Source/config.gyp View 1 2 3 4 5 2 chunks +26 lines, -4 lines 0 comments Download
M Source/core/core.gyp/core.gyp View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M Source/modules/modules.gyp View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
A + Source/wtf/tests/RunAllTests.cpp View 1 2 3 4 1 chunk +14 lines, -10 lines 0 comments Download
M Source/wtf/wtf.gypi View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
A + Source/wtf/wtf_tests.gyp View 1 2 3 4 5 6 2 chunks +35 lines, -17 lines 0 comments Download
M public/all.gyp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
darin (slow to review)
LGTM https://codereview.chromium.org/16066003/diff/1/Source/wtf/tests/RunAllTests.cpp File Source/wtf/tests/RunAllTests.cpp (right): https://codereview.chromium.org/16066003/diff/1/Source/wtf/tests/RunAllTests.cpp#newcode38 Source/wtf/tests/RunAllTests.cpp:38: return 0.0; Should there be an assertion that ...
7 years, 7 months ago (2013-05-25 22:56:00 UTC) #1
darin (slow to review)
LGTM
7 years, 7 months ago (2013-05-25 22:56:09 UTC) #2
abarth-chromium
https://codereview.chromium.org/16066003/diff/1/Source/wtf/wtf_tests.gyp File Source/wtf/wtf_tests.gyp (right): https://codereview.chromium.org/16066003/diff/1/Source/wtf/wtf_tests.gyp#newcode58 Source/wtf/wtf_tests.gyp:58: 'msvs_disabled_warnings': [4127, 4355, 4510, 4512, 4610, 4706, 4068, 4267], ...
7 years, 7 months ago (2013-05-26 00:29:58 UTC) #3
jamesr
The disabled warning set here is almost completely disjoint with the one in config.gyp. I ...
7 years, 7 months ago (2013-05-27 23:51:22 UTC) #4
abarth-chromium
Thanks. Yeah, the ideal situation would be just to fix all the warnings. Now that ...
7 years, 7 months ago (2013-05-28 00:04:57 UTC) #5
jamesr
This rejiggers the gyps a bit - would you mind taking a look, Adam? The ...
7 years, 6 months ago (2013-05-28 03:42:23 UTC) #6
abarth-chromium
LGTM https://codereview.chromium.org/16066003/diff/14001/Source/wtf/tests/RunAllTests.cpp File Source/wtf/tests/RunAllTests.cpp (right): https://codereview.chromium.org/16066003/diff/14001/Source/wtf/tests/RunAllTests.cpp#newcode46 Source/wtf/tests/RunAllTests.cpp:46: WTF::initializeMainThread(0); It would be better if these calls ...
7 years, 6 months ago (2013-05-28 06:28:24 UTC) #7
jamesr
On 2013/05/28 06:28:24, abarth wrote: > LGTM > > https://codereview.chromium.org/16066003/diff/14001/Source/wtf/tests/RunAllTests.cpp > File Source/wtf/tests/RunAllTests.cpp (right): > ...
7 years, 6 months ago (2013-05-28 06:55:47 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/16066003/26001
7 years, 6 months ago (2013-05-28 18:40:17 UTC) #9
commit-bot: I haz the power
Retried try job too often on blink_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=blink_presubmit&number=698
7 years, 6 months ago (2013-05-28 19:01:41 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/16066003/26001
7 years, 6 months ago (2013-05-28 19:06:14 UTC) #11
commit-bot: I haz the power
Retried try job too often on blink_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=blink_presubmit&number=701
7 years, 6 months ago (2013-05-28 19:38:40 UTC) #12
jamesr
7 years, 6 months ago (2013-05-28 21:37:11 UTC) #13
Message was sent while issue was closed.
Committed patchset #7 manually as r151305 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698