From fca2196a2e362394351b1a2e6e90a9a3cd88a722 Mon Sep 17 00:00:00 2001 From: James Zern Date: Sat, 1 Oct 2016 11:49:02 -0700 Subject: [PATCH] invalid_file_test: quiet unused const warning with --disable-vp9 Change-Id: I81bd603b02ee5d1b45a50aa9e7534f9da498b0e0 --- test/invalid_file_test.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/invalid_file_test.cc b/test/invalid_file_test.cc index 3955b6e3f..12eaa80e7 100644 --- a/test/invalid_file_test.cc +++ b/test/invalid_file_test.cc @@ -120,6 +120,7 @@ class InvalidFileTest : public ::libvpx_test::DecoderTest, TEST_P(InvalidFileTest, ReturnCode) { RunTest(); } +#if CONFIG_VP9_DECODER const DecodeParam kVP9InvalidFileTests[] = { { 1, "invalid-vp90-02-v2.webm" }, #if CONFIG_VP9_HIGHBITDEPTH @@ -147,6 +148,7 @@ const DecodeParam kVP9InvalidFileTests[] = { VP9_INSTANTIATE_TEST_CASE(InvalidFileTest, ::testing::ValuesIn(kVP9InvalidFileTests)); +#endif // CONFIG_VP9_DECODER // This class will include test vectors that are expected to fail // peek. However they are still expected to have no fatal failures.