ref: 987dd3a9be85a4221733fd4a320eabce7463e56a
parent: bd8dfea54d10adb2c0b19ccdaa6891757b1e5ae0
author: James Zern <[email protected]>
date: Tue Jan 26 13:05:47 EST 2021
vp9_end_to_end_test: fix compile with gcc 4.8.5 use Values() rather than ValuesIn() with an initializer list as this version of gcc under CentOS fails to deduce the type: ../third_party/googletest/src/include/gtest/gtest-param-test.h:304:29: note: template argument deduction/substitution failed: ../test/vp9_end_to_end_test.cc:346:59: note: couldn't deduce template parameter ‘T’ ::testing::ValuesIn({ 6, 7, 8 })); Bug: webm:1690 Change-Id: I43d9d4777fcd74a4f8fa8bdcd9834cdca5e546ff
--- a/test/vp9_end_to_end_test.cc
+++ b/test/vp9_end_to_end_test.cc
@@ -342,7 +342,7 @@
VP9_INSTANTIATE_TEST_SUITE(EndToEndNV12,
::testing::Values(::libvpx_test::kRealTime),
::testing::ValuesIn(kTestVectorsNv12),
- ::testing::ValuesIn({ 6, 7, 8 }));
+ ::testing::Values(6, 7, 8));
VP9_INSTANTIATE_TEST_SUITE(EndToEndTestAdaptiveRDThresh,
::testing::Values(5, 6, 7), ::testing::Values(8, 9));