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

Issue 2198923002: gpu/config Add unittests for driver vendor collection (Closed)

Created:
4 years, 4 months ago by Corentin Wallez
Modified:
4 years, 4 months ago
CC:
chromium-reviews, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

gpu/config Add unittests for driver vendor collection BUG=633286 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel

Patch Set 1 #

Patch Set 2 : gpu/config Add unittests for driver vendor collection #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -17 lines) Patch
M gpu/config/gpu_info_collector_unittest.cc View 1 1 chunk +48 lines, -17 lines 0 comments Download

Messages

Total messages: 21 (12 generated)
Corentin Wallez
PTAL, this will highlight the problem causing the Linux AMD bot to be completely red.
4 years, 4 months ago (2016-08-01 18:23:37 UTC) #5
Julien Isorce Samsung
On 2016/08/01 18:23:37, Corentin Wallez wrote: > PTAL, this will highlight the problem causing the ...
4 years, 4 months ago (2016-08-01 19:36:38 UTC) #10
Ken Russell (switch to Gerrit)
LGTM I haven't checked the status of the bot but if a patch slipped through ...
4 years, 4 months ago (2016-08-01 19:47:58 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2198923002/20001
4 years, 4 months ago (2016-08-01 19:49:37 UTC) #15
Corentin Wallez
On 2016/08/01 at 19:36:38, j.isorce wrote: > On 2016/08/01 18:23:37, Corentin Wallez wrote: > > ...
4 years, 4 months ago (2016-08-01 19:51:24 UTC) #17
Julien Isorce Samsung
On 2016/08/01 19:51:24, Corentin Wallez wrote: > On 2016/08/01 at 19:36:38, j.isorce wrote: > > ...
4 years, 4 months ago (2016-08-01 20:30:56 UTC) #18
Julien Isorce Samsung
On 2016/08/01 20:30:56, Julien Isorce wrote: > On 2016/08/01 19:51:24, Corentin Wallez wrote: > > ...
4 years, 4 months ago (2016-08-01 20:54:12 UTC) #19
Corentin Wallez
On 2016/08/01 at 20:54:12, j.isorce wrote: > On 2016/08/01 20:30:56, Julien Isorce wrote: > > ...
4 years, 4 months ago (2016-08-01 20:59:19 UTC) #20
Ken Russell (switch to Gerrit)
4 years, 4 months ago (2016-08-01 22:20:24 UTC) #21
Message was sent while issue was closed.
On 2016/08/01 20:59:19, Corentin Wallez wrote:
> On 2016/08/01 at 20:54:12, j.isorce wrote:
> > On 2016/08/01 20:30:56, Julien Isorce wrote:
> > > On 2016/08/01 19:51:24, Corentin Wallez wrote:
> > > > On 2016/08/01 at 19:36:38, j.isorce wrote:
> > > > > On 2016/08/01 18:23:37, Corentin Wallez wrote:
> > > > > > PTAL, this will highlight the problem causing the Linux AMD bot to
be
> > > > completely
> > > > > > red.
> > > > > 
> > > > > Hi, sorry I was only looking at the Linux Intel bot (cause of the
revert
> > > > https://codereview.chromium.org/2153373002/).
> > > > > I am having a look at the Linux AMD bot at the moment. At first glance
> it is
> > > a
> > > > bit mysterious
> > > > > since prior my patch driver_vendor and driver_version for ""4.5.13399
> > > > Compatibility Profile Context 15.201.1151"
> > > > > would not have been relevant either: "Compatibility" / "Profile" . At
> least
> > > > the version is ok now.
> > > > > Will let you know if I found something quickly otherwise I will revert
> my
> > > CL.
> > > > 
> > > > No problem, I wasn't sure if your patch could be reverted safely. Doing
> this
> > > > now. Prior to your CL driver vendor was "ATI" and the version was parsed
> > > > correctly.
> > > 
> > > Ah you are right, thx for pointing that I had not realized there was
> > > CollectDriverVersionATI.
> > 
> > But about the last part you added in the unit test I cannot do anything
since
> for
> > the proprietary ATI driver it is not meant to be extracted from the gl
> version.
> > And prior my CL it would have hit the early return "if (pos == 0) return
> kCollectInfoNonFatalFailure;"
> 
> Yeah just noticed that, proprietary NVIDIA / AMD is noticed using the device
PCI
> id, so the change to the unittest is useless. Closing this CL, apologies for
the
> noise.

Darn, sorry to hear this wouldn't work. Julien, can you figure out a way to
better unit test your other change ( https://codereview.chromium.org/2153373002/
)?

Powered by Google App Engine
This is Rietveld 408576698