From: James Zern Date: Fri, 30 Jun 2017 23:21:06 +0000 (-0700) Subject: test_vector_test,vp8: correct thread range X-Git-Tag: v1.7.0~332^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=af3ab4586751aab7b3169c00478bff6a67ee5f06;p=libvpx test_vector_test,vp8: correct thread range testing::Range does not include the end parameter in the set of values. also adjust the start to 2 as the single threaded case is already covered in another instantiation Change-Id: Iae3bf3ed4363dd434eccfa5ad4e3c5e553fbee60 --- diff --git a/test/test_vector_test.cc b/test/test_vector_test.cc index 01b651fdd..ab0a4cca9 100644 --- a/test/test_vector_test.cc +++ b/test/test_vector_test.cc @@ -143,7 +143,7 @@ INSTANTIATE_TEST_CASE_P( ::testing::Values( static_cast(&libvpx_test::kVP8)), ::testing::Combine( - ::testing::Range(1, 8), // With 1 ~ 8 threads. + ::testing::Range(2, 9), // With 2 ~ 8 threads. ::testing::ValuesIn(libvpx_test::kVP8TestVectors, libvpx_test::kVP8TestVectors + libvpx_test::kNumVP8TestVectors))));