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

Issue 2564173002: MANUAL tests of GDI capturers (Closed)

Created:
4 years ago by Hzj_jie
Modified:
4 years ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, kjellander_webrtc
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

MANUAL tests of GDI capturers ScreenCapturerWinGdi randomly returns black frames in test environment. The root cause is still unknown, so change ScreenCapturerWinGdi tests into MANUAL mode to execute in test environment, but unblock other developers. We can eventually get a failure ratio and more samples for debugging. BUG=webrtc:6666, webrtc:6843 Committed: https://crrev.com/8d1649d71b74d511c508b0b3d41faf8c1a075c70 Cr-Commit-Position: refs/heads/master@{#15518}

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -10 lines) Patch
M webrtc/modules/desktop_capture/screen_capturer_integration_test.cc View 1 chunk +16 lines, -10 lines 3 comments Download

Messages

Total messages: 22 (14 generated)
Hzj_jie
4 years ago (2016-12-09 22:21:57 UTC) #10
Sergey Ulanov
Normally we mark tests as DISABLED_ to disable them. LGTM otherwise. https://codereview.webrtc.org/2564173002/diff/20001/webrtc/modules/desktop_capture/screen_capturer_integration_test.cc File webrtc/modules/desktop_capture/screen_capturer_integration_test.cc (right): ...
4 years ago (2016-12-09 23:18:01 UTC) #11
Hzj_jie
https://codereview.webrtc.org/2564173002/diff/20001/webrtc/modules/desktop_capture/screen_capturer_integration_test.cc File webrtc/modules/desktop_capture/screen_capturer_integration_test.cc (right): https://codereview.webrtc.org/2564173002/diff/20001/webrtc/modules/desktop_capture/screen_capturer_integration_test.cc#newcode290 webrtc/modules/desktop_capture/screen_capturer_integration_test.cc:290: #define MAYBE_CaptureUpdatedRegion MANUAL_CaptureUpdatedRegion On 2016/12/09 23:18:01, Sergey Ulanov wrote: ...
4 years ago (2016-12-09 23:33:19 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2564173002/20001
4 years ago (2016-12-09 23:58:25 UTC) #14
commit-bot: I haz the power
Committed patchset #1 (id:20001)
4 years ago (2016-12-10 00:00:04 UTC) #17
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/8d1649d71b74d511c508b0b3d41faf8c1a075c70 Cr-Commit-Position: refs/heads/master@{#15518}
4 years ago (2016-12-10 00:00:16 UTC) #19
kjellander_webrtc
I was wrong about MANUAL_, it only works in Chrome. See my comment. https://codereview.webrtc.org/2564173002/diff/20001/webrtc/modules/desktop_capture/screen_capturer_integration_test.cc File ...
4 years ago (2016-12-12 07:30:31 UTC) #21
Hzj_jie
4 years ago (2016-12-12 21:00:19 UTC) #22
Message was sent while issue was closed.
On 2016/12/12 07:30:31, kjellander_webrtc wrote:
> I was wrong about MANUAL_, it only works in Chrome. See my comment.
> 
>
https://codereview.webrtc.org/2564173002/diff/20001/webrtc/modules/desktop_ca...
> File webrtc/modules/desktop_capture/screen_capturer_integration_test.cc
(right):
> 
>
https://codereview.webrtc.org/2564173002/diff/20001/webrtc/modules/desktop_ca...
> webrtc/modules/desktop_capture/screen_capturer_integration_test.cc:290:
#define
> MAYBE_CaptureUpdatedRegion MANUAL_CaptureUpdatedRegion
> On 2016/12/09 23:33:19, Hzj_jie wrote:
> > On 2016/12/09 23:18:01, Sergey Ulanov wrote:
> > > s/DISABLE_/MANUAL_/
> > 
> > There is a mail thread between Henrik and me, we will use the MANUAL_ prefix
> to
> > execute these tests in waterfall without impacting other developers.
> 
> It turns out I misunderstood that MANUAL_ was a part of the supported gtest
> prefixes. It's something that Chromium implemented only for their test
launcher:
>
https://cs.chromium.org/chromium/src/content/public/test/test_launcher.cc?rcl...
> 
> Luckily, we can use DISABLED_ for the same purpose, since there's the
> --gtest_also_run_disabled_tests flag. I submitted
> https://codereview.webrtc.org/2568013002 to change this.

I thought you were trying to implement the same mechanism in WebRTC. I am OK
with your change as long as we have a way to do so.

Powered by Google App Engine
This is Rietveld 408576698