shithub: libvpx

Download patch

ref: ea0bc1b321f1b8a51e5f5701ac48f597cb417ef3
parent: d1a78971ebcfd728c9c73b0cfbee69f470d4dc72
author: Sarah Parker <sarahparker@google.com>
date: Wed Sep 9 12:10:17 EDT 2020

Upstream GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST

BUG=b/159031848

Change-Id: I013770f4e54d0ea92304fa3e9cf4d46f5723f129

--- a/test/avg_test.cc
+++ b/test/avg_test.cc
@@ -202,6 +202,7 @@
   int16_t *hbuf_asm_;
   int16_t *hbuf_c_;
 };
+GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(IntProRowTest);
 
 typedef int16_t (*IntProColFunc)(uint8_t const *ref, const int width);
 
@@ -228,6 +229,7 @@
   int16_t sum_asm_;
   int16_t sum_c_;
 };
+GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(IntProColTest);
 #endif  // HAVE_NEON || HAVE_SSE2 || HAVE_MSA
 
 typedef int (*SatdFunc)(const tran_low_t *coeffs, int length);
--- a/test/dct16x16_test.cc
+++ b/test/dct16x16_test.cc
@@ -740,6 +740,7 @@
   IdctFunc inv_txfm_;
   int thresh_;
 };
+GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(InvTrans16x16DCT);
 
 TEST_P(InvTrans16x16DCT, CompareReference) {
   CompareInvReference(ref_txfm_, thresh_);
--- a/test/fdct8x8_test.cc
+++ b/test/fdct8x8_test.cc
@@ -625,6 +625,7 @@
   IdctFunc inv_txfm_;
   int thresh_;
 };
+GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(InvTrans8x8DCT);
 
 TEST_P(InvTrans8x8DCT, CompareReference) {
   CompareInvReference(ref_txfm_, thresh_);
--- a/test/lpf_test.cc
+++ b/test/lpf_test.cc
@@ -145,6 +145,7 @@
   loop_op_t loopfilter_op_;
   loop_op_t ref_loopfilter_op_;
 };
+GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(Loop8Test6Param);
 
 #if HAVE_NEON || HAVE_SSE2 || \
     (HAVE_DSPR2 || HAVE_MSA && !CONFIG_VP9_HIGHBITDEPTH)
@@ -166,6 +167,7 @@
   dual_loop_op_t loopfilter_op_;
   dual_loop_op_t ref_loopfilter_op_;
 };
+GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(Loop8Test9Param);
 #endif  // HAVE_NEON || HAVE_SSE2 || (HAVE_DSPR2 || HAVE_MSA &&
         // (!CONFIG_VP9_HIGHBITDEPTH))
 
--- a/test/quantize_test.cc
+++ b/test/quantize_test.cc
@@ -146,6 +146,7 @@
   VP8Quantize asm_quant_;
   VP8Quantize c_quant_;
 };
+GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(QuantizeTest);
 
 TEST_P(QuantizeTest, TestZeroInput) {
   FillCoeffConstant(0);
--- a/test/sum_squares_test.cc
+++ b/test/sum_squares_test.cc
@@ -45,6 +45,7 @@
   SSI16Func ref_func_;
   SSI16Func tst_func_;
 };
+GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(SumSquaresTest);
 
 TEST_P(SumSquaresTest, OperationCheck) {
   ACMRandom rnd(ACMRandom::DeterministicSeed());
--- a/test/variance_test.cc
+++ b/test/variance_test.cc
@@ -840,6 +840,7 @@
                       MseParams(4, 4, &vpx_highbd_8_mse8x16_c),
                       MseParams(4, 4, &vpx_highbd_8_mse8x8_c)));
 */
+GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(VpxHBDMseTest);
 
 INSTANTIATE_TEST_SUITE_P(
     C, VpxHBDVarianceTest,
--- a/test/vp9_block_error_test.cc
+++ b/test/vp9_block_error_test.cc
@@ -67,6 +67,7 @@
   HBDBlockErrorFunc error_block_op_;
   HBDBlockErrorFunc ref_error_block_op_;
 };
+GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(BlockErrorTest);
 
 TEST_P(BlockErrorTest, OperationCheck) {
   ACMRandom rnd(ACMRandom::DeterministicSeed());
--- a/test/vp9_denoiser_test.cc
+++ b/test/vp9_denoiser_test.cc
@@ -51,6 +51,7 @@
  protected:
   BLOCK_SIZE bs_;
 };
+GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(VP9DenoiserTest);
 
 TEST_P(VP9DenoiserTest, BitexactCheck) {
   ACMRandom rnd(ACMRandom::DeterministicSeed());
--- a/test/vp9_intrapred_test.cc
+++ b/test/vp9_intrapred_test.cc
@@ -468,6 +468,8 @@
 }
 
 typedef IntraPredTest<uint16_t, HighbdIntraPredParam> VP9HighbdIntraPredTest;
+GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(VP9HighbdIntraPredTest);
+
 TEST_P(VP9HighbdIntraPredTest, HighbdIntraPredTests) {
   // max block size is 32
   DECLARE_ALIGNED(16, uint16_t, left_col[2 * 32]);