]> granicus.if.org Git - libvpx/commitdiff
Add realtime-mode to datarate tests.
authorMarco Paniconi <marpan@google.com>
Fri, 7 Mar 2014 02:34:48 +0000 (18:34 -0800)
committerMarco Paniconi <marpan@google.com>
Fri, 7 Mar 2014 18:09:32 +0000 (10:09 -0800)
Change-Id: Ib7ef6afbc80a38b134522bff283c01fadbec874b

test/datarate_test.cc

index 7793ccae38208753affb9197946698a55bf33a10..022223ffad731438e3b7c529bf4baeb82facb3d9 100644 (file)
@@ -576,6 +576,11 @@ TEST_P(DatarateTestVP9, BasicRateTargeting3TemporalLayersFrameDropping) {
 
 VP8_INSTANTIATE_TEST_CASE(DatarateTest, ALL_TEST_MODES);
 VP9_INSTANTIATE_TEST_CASE(DatarateTestVP9,
-                          ::testing::Values(::libvpx_test::kOnePassGood),
-                          ::testing::Range(2, 6));
+                          ::testing::Values(::libvpx_test::kOnePassGood,
+                          ::libvpx_test::kRealTime),
+                          ::testing::Range(2, 7));
+// TODO(marpan): Speed 7 fails on one of these tests (likely just a threshold
+// needs to be changed), so for now test up to speed 6, and start at 2 (since
+// speed 0 and 1 are slow). Allow speed 7 (for real-time mode) after
+// looking into/fix failing issue.
 }  // namespace