projects
/
platform
/
upstream
/
libvpx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b625feb
)
vp9 intra pred test: resolve -Wuninitialized warning
author
Johann
<johannkoenig@google.com>
Mon, 7 Jan 2019 19:27:53 +0000
(11:27 -0800)
committer
Johann
<johannkoenig@google.com>
Mon, 7 Jan 2019 19:27:53 +0000
(11:27 -0800)
BUG=webm:1584
Change-Id: I58505e04bd248697047d4957cebe495dada670a0
test/vp9_intrapred_test.cc
patch
|
blob
|
history
diff --git
a/test/vp9_intrapred_test.cc
b/test/vp9_intrapred_test.cc
index 39c5e79ebd931d0645c76d015e17fce76fc4def1..89b1cd86aa394eb83aedf14539603e4a05b2a538 100644
(file)
--- 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,