Commit d9c37b08 authored by James Zern's avatar James Zern Committed by Gerrit Code Review

Merge "decode_test_driver: check HasFailure() in RunLoop"

parents f8b0f528 8f5b81fa
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment