shithub: libvpx

Download patch

ref: 19d5fb99bc31c54f733ea1454d75312504d11928
parent: 9848d67bb319678ea0d6013bddfe28e03e0db5fa
parent: a8b73616b37570fb203e81f978a1d54261c625fb
author: James Zern <jzern@google.com>
date: Fri Apr 4 11:04:48 EDT 2014

Merge "Re-enable datarate tests for speeds 5 and 6."

--- a/test/datarate_test.cc
+++ b/test/datarate_test.cc
@@ -570,9 +570,9 @@
         << " The datarate for the file is greater than target by too much, "
             "for layer: " << j;
     // Expect some frame drops in this test: for this 200 frames test,
-    // expect at least 10% and not more than 50% drops.
+    // expect at least 10% and not more than 60% drops.
     ASSERT_GE(num_drops_, 20);
-    ASSERT_LE(num_drops_, 100);
+    ASSERT_LE(num_drops_, 120);
   }
 }
 
@@ -580,8 +580,5 @@
 VP9_INSTANTIATE_TEST_CASE(DatarateTestVP9Large,
                           ::testing::Values(::libvpx_test::kOnePassGood,
                           ::libvpx_test::kRealTime),
-                          ::testing::Range(2, 5));
-// TODO(marpan): Speed 5 to 7 fails on one of these tests, for
-// real-time mode. So for now test up to speed 4, and start at 2
-// (since speed 0 and 1 are slow). Enable more speeds when issue is fixed.
+                          ::testing::Range(2, 7));
 }  // namespace
--