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

Issue 981683002: cc: Add missing xdisplaycheck data dependency for tests. (Closed)

Created:
5 years, 9 months ago by sunnyps
Modified:
5 years, 9 months ago
CC:
chromium-reviews, cc-bugs_chromium.org, M-A Ruel, pkotwicz
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Add missing xdisplaycheck data dependency for tests. This adds xdisplaycheck as a dependency of cc_unittests_run for gyp isolate builds. xdisplaycheck is used by the isolate script to run cc_unittests so it must be built when cc_unittests is built. BUG=464062 Committed: https://crrev.com/e619a362a7870856cfb4529a1c629a4bccce41c7 Cr-Commit-Position: refs/heads/master@{#319529}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Address comments. #

Total comments: 3

Patch Set 3 : Address comments. #

Total comments: 1

Patch Set 4 : Add comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -0 lines) Patch
M cc/BUILD.gn View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M cc/cc_tests.gyp View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (9 generated)
sunnyps
PTAL Please have a look at the bug for logs of the IRC discussion around ...
5 years, 9 months ago (2015-03-04 21:41:00 UTC) #2
jamesr
This doesn't really seem right - xdisplaycheck is required by the wrapper scripts we use ...
5 years, 9 months ago (2015-03-04 21:48:59 UTC) #5
jamesr
https://codereview.chromium.org/981683002/diff/1/cc/cc_tests.gyp File cc/cc_tests.gyp (right): https://codereview.chromium.org/981683002/diff/1/cc/cc_tests.gyp#newcode470 cc/cc_tests.gyp:470: 'cc_unittests.isolate', since this specifies the isolate file that chooses ...
5 years, 9 months ago (2015-03-04 21:49:49 UTC) #6
jamesr
5 years, 9 months ago (2015-03-04 21:50:15 UTC) #7
Dirk Pranke
Yeah, thinking about this more, I agree w/ jamesr and gave sunnyps bad directions before ...
5 years, 9 months ago (2015-03-04 22:06:13 UTC) #8
sunnyps
I have moved the dependencies to cc_unittest_run in gyp and to cc_unittests in gn. This ...
5 years, 9 months ago (2015-03-04 22:09:56 UTC) #9
sunnyps
PTAL
5 years, 9 months ago (2015-03-04 22:10:04 UTC) #10
danakj
https://codereview.chromium.org/981683002/diff/20001/cc/BUILD.gn File cc/BUILD.gn (right): https://codereview.chromium.org/981683002/diff/20001/cc/BUILD.gn#newcode890 cc/BUILD.gn:890: datadeps += [ "//tools/xdisplaycheck" ] This seems as wrong ...
5 years, 9 months ago (2015-03-05 18:38:39 UTC) #11
jamesr
Can you specify deps in the isolate file itself? The use of xdisplaycheck is chosen ...
5 years, 9 months ago (2015-03-05 18:41:55 UTC) #12
sunnyps
I can't find anything in the isolate docs which suggests that we can specify build ...
5 years, 9 months ago (2015-03-05 20:44:45 UTC) #13
brettw
GN doesn't have isolate support yet. Maybe it's best to just put a comment at ...
5 years, 9 months ago (2015-03-05 21:03:31 UTC) #15
sunnyps
PTAL. I have changed the condition in the gyp file to match the isolate file ...
5 years, 9 months ago (2015-03-06 00:56:47 UTC) #16
danakj
LGTM https://codereview.chromium.org/981683002/diff/40001/cc/cc_tests.gyp File cc/cc_tests.gyp (right): https://codereview.chromium.org/981683002/diff/40001/cc/cc_tests.gyp#newcode464 cc/cc_tests.gyp:464: ['OS=="linux" and use_ozone==0', Can you add a comment ...
5 years, 9 months ago (2015-03-06 02:30:10 UTC) #17
brettw
Yes, above I suggested a comment at the bottom of that BUILD.gn file for when ...
5 years, 9 months ago (2015-03-06 03:07:32 UTC) #18
sunnyps
Added comments as requested.
5 years, 9 months ago (2015-03-06 19:48:27 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/981683002/60001
5 years, 9 months ago (2015-03-06 19:51:01 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/34165)
5 years, 9 months ago (2015-03-06 21:24:25 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/981683002/60001
5 years, 9 months ago (2015-03-07 00:02:08 UTC) #26
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 9 months ago (2015-03-07 00:03:27 UTC) #27
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/e619a362a7870856cfb4529a1c629a4bccce41c7 Cr-Commit-Position: refs/heads/master@{#319529}
5 years, 9 months ago (2015-03-07 00:04:28 UTC) #28
tfarina
Would have been great if you have described in the CL description how did you ...
5 years, 9 months ago (2015-03-07 00:19:18 UTC) #30
sunnyps
5 years, 9 months ago (2015-03-07 00:26:18 UTC) #31
Message was sent while issue was closed.
On 2015/03/07 00:19:18, tfarina wrote:
> Would have been great if you have described in the CL description how did you
> verified this.
> 
> i.e., how did you come to the conclusion that xdisplaycheck dependency was
> missing for test targets? How this was not noticed until now? Is there
something
> we can change/we need to in the buildbot side to catch this?
> 
> e.g., which isolate commands have you ran?

Here's a build which failed because of the missing dependency:
http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...

This (and some other information) is mentioned in the bug listed in the CL
description. That build caused only caused the cc_unittests target to build and
run. I do not know why this wasn't noticed till now.

Powered by Google App Engine
This is Rietveld 408576698