|
|
Chromium Code Reviews
DescriptionVEA unittest: fix TestSimpleEncode crash while decoder fails
If VideoFrameQualityValidator cannot get a decoder, the
TestSimpleEncode test would abort without destroying the
encoder first and thus causes a crash. This change makes
the test to fail properly.
BUG=672403
TEST=Run VEA unittest built for external chromium on Kevin.
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
Committed: https://crrev.com/3eb047232f64eeec5cb234614a30734717520e38
Cr-Commit-Position: refs/heads/master@{#438133}
Patch Set 1 #
Total comments: 1
Patch Set 2 : VEA unittest: fix TestSimpleEncode crash while decoder fails #Messages
Total messages: 21 (13 generated)
Description was changed from ========== VEA unittest: fix TestSimpleEncode crash while decoder fails If VideoFrameQualityValidator cannot get a decoder, the TestSimpleEncode test would abort without destroying the encoder first and thus causes a crash. This change makes the test to fail properly. BUG=672403 TEST=Run VEA unittest built for external chromium on Kevin. ========== to ========== VEA unittest: fix TestSimpleEncode crash while decoder fails If VideoFrameQualityValidator cannot get a decoder, the TestSimpleEncode test would abort without destroying the encoder first and thus causes a crash. This change makes the test to fail properly. BUG=672403 TEST=Run VEA unittest built for external chromium on Kevin. 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 ==========
lgtm
The CQ bit was checked by hywu@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
https://codereview.chromium.org/2573733002/diff/1/media/gpu/video_encode_acce... File media/gpu/video_encode_accelerator_unittest.cc (right): https://codereview.chromium.org/2573733002/diff/1/media/gpu/video_encode_acce... media/gpu/video_encode_accelerator_unittest.cc:2084: if (wrong_state) { Can we use if (HasFailure())? Same for line 2079.
On 2016/12/13 09:18:32, wuchengli wrote: > https://codereview.chromium.org/2573733002/diff/1/media/gpu/video_encode_acce... > File media/gpu/video_encode_accelerator_unittest.cc (right): > > https://codereview.chromium.org/2573733002/diff/1/media/gpu/video_encode_acce... > media/gpu/video_encode_accelerator_unittest.cc:2084: if (wrong_state) { > Can we use if (HasFailure())? > Same for line 2079. Done in patch set 2.
lgtm
The CQ bit was checked by hywu@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by hywu@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from kcwu@chromium.org Link to the patchset: https://codereview.chromium.org/2573733002/#ps20001 (title: "VEA unittest: fix TestSimpleEncode crash while decoder fails")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch.
Bot data: {"patchset_id": 20001, "attempt_start_ts": 1481630008192950,
"parent_rev": "b2a82fb7b41ff0b678be642977d7ccda105b6af2", "commit_rev":
"7263e1e8c0bbaeeb8ad823d35ded227ca5da5d95"}
Message was sent while issue was closed.
Description was changed from ========== VEA unittest: fix TestSimpleEncode crash while decoder fails If VideoFrameQualityValidator cannot get a decoder, the TestSimpleEncode test would abort without destroying the encoder first and thus causes a crash. This change makes the test to fail properly. BUG=672403 TEST=Run VEA unittest built for external chromium on Kevin. 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 ========== to ========== VEA unittest: fix TestSimpleEncode crash while decoder fails If VideoFrameQualityValidator cannot get a decoder, the TestSimpleEncode test would abort without destroying the encoder first and thus causes a crash. This change makes the test to fail properly. BUG=672403 TEST=Run VEA unittest built for external chromium on Kevin. 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 Review-Url: https://codereview.chromium.org/2573733002 ==========
Message was sent while issue was closed.
Committed patchset #2 (id:20001)
Message was sent while issue was closed.
Description was changed from ========== VEA unittest: fix TestSimpleEncode crash while decoder fails If VideoFrameQualityValidator cannot get a decoder, the TestSimpleEncode test would abort without destroying the encoder first and thus causes a crash. This change makes the test to fail properly. BUG=672403 TEST=Run VEA unittest built for external chromium on Kevin. 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 Review-Url: https://codereview.chromium.org/2573733002 ========== to ========== VEA unittest: fix TestSimpleEncode crash while decoder fails If VideoFrameQualityValidator cannot get a decoder, the TestSimpleEncode test would abort without destroying the encoder first and thus causes a crash. This change makes the test to fail properly. BUG=672403 TEST=Run VEA unittest built for external chromium on Kevin. 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 Committed: https://crrev.com/3eb047232f64eeec5cb234614a30734717520e38 Cr-Commit-Position: refs/heads/master@{#438133} ==========
Message was sent while issue was closed.
Patchset 2 (id:??) landed as https://crrev.com/3eb047232f64eeec5cb234614a30734717520e38 Cr-Commit-Position: refs/heads/master@{#438133} |
