summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohann <johannkoenig@google.com>2019-01-07 11:27:53 -0800
committerJohann <johannkoenig@google.com>2019-01-07 11:27:53 -0800
commit9cf2e851d97babc3cb2f9b0eee2b418322c79fce (patch)
treee71d99f223e1c7dabe1d9d1b8c6bf41f417420c2 /test
parentb625feb3588e7e598fab2c0df1e28f2ea0a7b3e1 (diff)
downloadlibvpx-9cf2e851d97babc3cb2f9b0eee2b418322c79fce.tar
libvpx-9cf2e851d97babc3cb2f9b0eee2b418322c79fce.tar.gz
libvpx-9cf2e851d97babc3cb2f9b0eee2b418322c79fce.tar.bz2
libvpx-9cf2e851d97babc3cb2f9b0eee2b418322c79fce.zip
vp9 intra pred test: resolve -Wuninitialized warning
BUG=webm:1584 Change-Id: I58505e04bd248697047d4957cebe495dada670a0
Diffstat (limited to 'test')
-rw-r--r--test/vp9_intrapred_test.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/vp9_intrapred_test.cc b/test/vp9_intrapred_test.cc
index 39c5e79eb..89b1cd86a 100644
--- a/test/vp9_intrapred_test.cc
+++ b/test/vp9_intrapred_test.cc
@@ -130,6 +130,12 @@ TEST_P(VP9IntraPredTest, IntraPredTests) {
RunTest(left_col, above_data, dst, ref_dst);
}
+// Instantiate a token test to avoid -Wuninitialized warnings when none of the
+// other tests are enabled.
+INSTANTIATE_TEST_CASE_P(
+ C, VP9IntraPredTest,
+ ::testing::Values(IntraPredParam(&vpx_d45_predictor_4x4_c,
+ &vpx_d45_predictor_4x4_c, 4, 8)));
#if HAVE_SSE2
INSTANTIATE_TEST_CASE_P(
SSE2, VP9IntraPredTest,