Revert "Remove manual skip of ForcedFrameIsKeyCornerCases" This reverts commit 9697f772643c87f931742cd6cb29f6aa71bd2205. Reason for revert: Seems different clang versions may still have problem. Need to look into it. BUG=aomedia:2915 Change-Id: Ia5ec5fc2931b5fbd4cc8b7364477860aadcfdd95
diff --git a/test/kf_test.cc b/test/kf_test.cc index 0b36881..80c2aec 100644 --- a/test/kf_test.cc +++ b/test/kf_test.cc
@@ -230,6 +230,14 @@ } TEST_P(ForcedKeyTestLarge, ForcedFrameIsKeyCornerCases) { + // TODO(aomedia:2915): Remove this if statement. + if (encoding_mode_ == ::libaom_test::kTwoPassGood && auto_alt_ref_ == 1 && + fwd_kf_enabled_ == 1) { + std::cerr << "The test will divide by zero (crbug.com/aomedia/2915). Skip " + "the test." + << std::endl; + return; + } const aom_rational timebase = { 1, 30 }; const int kf_offsets[] = { -2, -1, 1, 2, 0 }; cfg_.g_lag_in_frames = 35;