diff options
author | James Zern <jzern@google.com> | 2021-01-26 18:05:47 -0800 |
---|---|---|
committer | James Zern <jzern@google.com> | 2021-01-26 18:09:27 -0800 |
commit | 987dd3a9be85a4221733fd4a320eabce7463e56a (patch) | |
tree | 3dc7cf03e5eb535eaa2a537e26e147d35367f406 | |
parent | bd8dfea54d10adb2c0b19ccdaa6891757b1e5ae0 (diff) | |
download | libvpx-987dd3a9be85a4221733fd4a320eabce7463e56a.tar.gz libvpx-987dd3a9be85a4221733fd4a320eabce7463e56a.tar.bz2 libvpx-987dd3a9be85a4221733fd4a320eabce7463e56a.zip |
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
-rw-r--r-- | test/vp9_end_to_end_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/vp9_end_to_end_test.cc b/test/vp9_end_to_end_test.cc index 4e3a78fac..7cc126ea5 100644 --- a/test/vp9_end_to_end_test.cc +++ b/test/vp9_end_to_end_test.cc @@ -342,7 +342,7 @@ VP9_INSTANTIATE_TEST_SUITE(EndToEndTestLarge, 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)); |