]> granicus.if.org Git - libvpx/commitdiff
test_vector_test,vp8: correct thread range
authorJames Zern <jzern@google.com>
Fri, 30 Jun 2017 23:21:06 +0000 (16:21 -0700)
committerJames Zern <jzern@google.com>
Fri, 30 Jun 2017 23:21:06 +0000 (16:21 -0700)
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

test/test_vector_test.cc

index 01b651fdda7f50ffc0e57898777fe5d438d49a6a..ab0a4cca92b69c5ce75ab994318019bd61567568 100644 (file)
@@ -143,7 +143,7 @@ INSTANTIATE_TEST_CASE_P(
         ::testing::Values(
             static_cast<const libvpx_test::CodecFactory *>(&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))));