]> granicus.if.org Git - libvpx/commitdiff
Turn ActiveMapTest back on.
authorAlex Converse <aconverse@google.com>
Tue, 7 Jun 2016 16:49:10 +0000 (09:49 -0700)
committerAlex Converse <aconverse@google.com>
Tue, 7 Jun 2016 18:59:15 +0000 (11:59 -0700)
If it's creating problems with some experiments, disable it under the
actual conditions where it doesn't work and file a bug.

Change-Id: Iab9f4bfe42ea926d49d371918da25f9a8938a20f

test/active_map_test.cc

index 7c8482a0bf2716c69296fa2e966432fec1e86a76..ab01df44f320043491a24173c41b40e4866240f1 100644 (file)
@@ -87,16 +87,26 @@ VP9_INSTANTIATE_TEST_CASE(ActiveMapTest,
                           ::testing::Values(::libvpx_test::kRealTime),
                           ::testing::Range(0, 9));
 #if CONFIG_VP10
-// The new variance based partitioning scheme is incompatible with
-// SEGMENT_LEVEL_SKIP, so tests using cpu-used 6 or higher (and hence
-// using variance based paritioning) are disabled for now.
-
-// Temporarily disable all tests
+#if CONFIG_SUPERTX
 INSTANTIATE_TEST_CASE_P(
     DISABLED_VP10, ActiveMapTest,
     ::testing::Combine(
         ::testing::Values(static_cast<const libvpx_test::CodecFactory *>(
             &libvpx_test::kVP10)),
         ::testing::Values(::libvpx_test::kRealTime), ::testing::Range(0, 9)));
+#else
+VP10_INSTANTIATE_TEST_CASE(ActiveMapTest,
+                           ::testing::Values(::libvpx_test::kRealTime),
+                           ::testing::Range(0, 6));
+
+// The new variance based partitioning scheme is incompatible with
+// SEGMENT_LEVEL_SKIP.
+INSTANTIATE_TEST_CASE_P(
+    DISABLED_VP10, ActiveMapTest,
+    ::testing::Combine(
+        ::testing::Values(static_cast<const libvpx_test::CodecFactory *>(
+            &libvpx_test::kVP10)),
+        ::testing::Values(::libvpx_test::kRealTime), ::testing::Range(6, 9)));
+#endif  // CONFIG_SUPERTX
 #endif  // CONFIG_VP10
 }  // namespace