From ee3802150cff2172ce215774d7e20980a9f680aa Mon Sep 17 00:00:00 2001 From: Jim Bankoski Date: Tue, 1 Jul 2014 15:37:26 -0700 Subject: [PATCH] Add a test that tests invalid partitions for profile 1 Change-Id: I3d95fbe9a8098256582b5386881d5b7bbdb317ed --- test/invalid_file_test.cc | 2 ++ test/test-data.sha1 | 4 ++++ test/test.mk | 4 ++++ 3 files changed, 10 insertions(+) diff --git a/test/invalid_file_test.cc b/test/invalid_file_test.cc index d3f370ee0..8c830340e 100644 --- a/test/invalid_file_test.cc +++ b/test/invalid_file_test.cc @@ -98,6 +98,8 @@ const char *const kVP9InvalidFileTests[] = { "invalid-vp90-02.webm", "invalid-vp90-2-00-quantizer-00.webm.ivf.s5861_r01-05_b6-.ivf", "invalid-vp90-03.webm", + "invalid-vp90-2-00-quantizer-11.webm.ivf.s52984_r01-05_b6-.ivf", + "invalid-vp90-2-00-quantizer-11.webm.ivf.s52984_r01-05_b6-z.ivf", }; #define NELEMENTS(x) static_cast(sizeof(x) / sizeof(x[0])) diff --git a/test/test-data.sha1 b/test/test-data.sha1 index 4e34c20c6..75fe81ed2 100644 --- a/test/test-data.sha1 +++ b/test/test-data.sha1 @@ -646,3 +646,7 @@ e3ab35d4316c5e81325c50f5236ceca4bc0d35df vp90-2-15-segkey.webm.md5 8f46ba5f785d0c2170591a153e0d0d146a7c8090 vp90-2-15-segkey_adpq.webm.md5 76024eb753cdac6a5e5703aaea189d35c3c30ac7 invalid-vp90-2-00-quantizer-00.webm.ivf.s5861_r01-05_b6-.ivf d3964f9dad9f60363c81b688324d95b4ec7c8038 invalid-vp90-2-00-quantizer-00.webm.ivf.s5861_r01-05_b6-.ivf.res +83f50908c8dc0ef8760595447a2ff7727489542e invalid-vp90-2-00-quantizer-11.webm.ivf.s52984_r01-05_b6-.ivf +456d1493e52d32a5c30edf44a27debc1fa6b253a invalid-vp90-2-00-quantizer-11.webm.ivf.s52984_r01-05_b6-.ivf.res +c123d1f9f02fb4143abb5e271916e3a3080de8f6 invalid-vp90-2-00-quantizer-11.webm.ivf.s52984_r01-05_b6-z.ivf +456d1493e52d32a5c30edf44a27debc1fa6b253a invalid-vp90-2-00-quantizer-11.webm.ivf.s52984_r01-05_b6-z.ivf.res diff --git a/test/test.mk b/test/test.mk index 751a85804..56abd998c 100644 --- a/test/test.mk +++ b/test/test.mk @@ -767,6 +767,10 @@ LIBVPX_TEST_DATA-$(CONFIG_VP9_DECODER) += invalid-vp90-03.webm LIBVPX_TEST_DATA-$(CONFIG_VP9_DECODER) += invalid-vp90-03.webm.res LIBVPX_TEST_DATA-$(CONFIG_VP9_DECODER) += invalid-vp90-2-00-quantizer-00.webm.ivf.s5861_r01-05_b6-.ivf LIBVPX_TEST_DATA-$(CONFIG_VP9_DECODER) += invalid-vp90-2-00-quantizer-00.webm.ivf.s5861_r01-05_b6-.ivf.res +LIBVPX_TEST_DATA-$(CONFIG_VP9_DECODER) += invalid-vp90-2-00-quantizer-11.webm.ivf.s52984_r01-05_b6-.ivf +LIBVPX_TEST_DATA-$(CONFIG_VP9_DECODER) += invalid-vp90-2-00-quantizer-11.webm.ivf.s52984_r01-05_b6-.ivf.res +LIBVPX_TEST_DATA-$(CONFIG_VP9_DECODER) += invalid-vp90-2-00-quantizer-11.webm.ivf.s52984_r01-05_b6-z.ivf +LIBVPX_TEST_DATA-$(CONFIG_VP9_DECODER) += invalid-vp90-2-00-quantizer-11.webm.ivf.s52984_r01-05_b6-z.ivf.res ifeq ($(CONFIG_DECODE_PERF_TESTS),yes) # BBB VP9 streams -- 2.40.0