From: James Zern Date: Thu, 27 Aug 2015 23:05:52 +0000 (-0700) Subject: encode_test_driver: test for failure prior to encode X-Git-Tag: v1.5.0~213^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d1ff1e9ffbfa36a8e018181ed4b252425c25f521;p=libvpx encode_test_driver: test for failure prior to encode limits the amount of failure messages should e.g., a test file fail to be opened Change-Id: I0b30da0faa78cada23a226b577b3a48c74a896cd --- diff --git a/test/encode_test_driver.cc b/test/encode_test_driver.cc index be4ef9af8..128436ee9 100644 --- a/test/encode_test_driver.cc +++ b/test/encode_test_driver.cc @@ -195,6 +195,7 @@ void EncoderTest::RunLoop(VideoSource *video) { video->Begin(); encoder->InitEncoder(video); + ASSERT_FALSE(::testing::Test::HasFatalFailure()); unsigned long dec_init_flags = 0; // NOLINT // Use fragment decoder if encoder outputs partitions.