media/gpu/test: s/LOG_ASSERT/ASSERT_TRUE/ in v_d_client
Some test-only files under media/gpu/test use LOG_ASSERT(), which causes the test binary to crash and leave an unsymbolized callstack when run on the CrOs Tast infra. This CL changes some of those refs to GTest's ASSERT_TRUE(), that is equivalent to EXPECT_TRUE()+return (not all LOG_ASSERT()s are that easy to replace since they are inside functions returning something). Replacing video_decoder_client.cc should fix the VP9.2 not being initialized (since it's disabled temporarily)- the test is expected to fail but not to crash. Bug: 1020776 Change-Id: Iddd6ed9080db4abe62f93730c84e77bfcbc9305f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1897358Reviewed-by:David Staessens <dstaessens@chromium.org> Reviewed-by:
Andres Calderon Jaramillo <andrescj@chromium.org> Commit-Queue: Miguel Casas <mcasas@chromium.org> Cr-Commit-Position: refs/heads/master@{#712417}
Showing
Please register or sign in to comment