Merge "decode_test_driver: check HasFailure() in RunLoop"
This commit is contained in:
commit
d9c37b08f8
@ -47,7 +47,8 @@ void DecoderTest::RunLoop(CompressedVideoSource *video) {
|
||||
const bool is_vp8 = strncmp(kVP8Name, codec_name, sizeof(kVP8Name) - 1) == 0;
|
||||
|
||||
// Decode frames.
|
||||
for (video->Begin(); video->cxdata(); video->Next()) {
|
||||
for (video->Begin(); !::testing::Test::HasFailure() && video->cxdata();
|
||||
video->Next()) {
|
||||
PreDecodeFrameHook(*video, decoder);
|
||||
|
||||
vpx_codec_stream_info_t stream_info;
|
||||
|
Loading…
x
Reference in New Issue
Block a user