ref: 188074414ee9b878a197d1d22894b183d88b306f
parent: 21ba1c9f9531842e4ffcab15f6c0078f3177e096
author: Marco Paniconi <[email protected]>
date: Thu Mar 6 13:34:48 EST 2014
Add realtime-mode to datarate tests. Change-Id: Ib7ef6afbc80a38b134522bff283c01fadbec874b
--- a/test/datarate_test.cc
+++ b/test/datarate_test.cc
@@ -576,6 +576,11 @@
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