This removes a test that fails on 32 bit
authorJim Bankoski <jimbankoski@google.com>
Fri, 18 Jul 2014 21:46:50 +0000 (14:46 -0700)
committerJim Bankoski <jimbankoski@google.com>
Fri, 18 Jul 2014 21:46:50 +0000 (14:46 -0700)
This undoes a check that attempted to insure on 32 bit machines allocations
bigger than 32 bit failed,  but it failed before the test could be hit,
revert that for now so we can do a roll

Change-Id: Ib607de6675c10100b716df94eb329649633509c8

test/frame_size_tests.cc

index d1ea096..34ee8b6 100644 (file)
@@ -62,16 +62,6 @@ TEST_F(VP9FrameSizeTestsLarge, TestInvalidSizes) {
   video.set_limit(2);
   expected_res_ = VPX_CODEC_CORRUPT_FRAME;
   ASSERT_NO_FATAL_FAILURE(RunLoop(&video));
-#else
-  // If we are on a 32 bit platform we can't possibly allocate enough memory
-  // for the largest video frame size (64kx64k). This test checks that we
-  // properly return a memory error.
-  if (sizeof(size_t) == 4) {
-    video.SetSize(65535, 65535);
-    video.set_limit(2);
-    expected_res_ = VPX_CODEC_MEM_ERROR;
-    ASSERT_NO_FATAL_FAILURE(RunLoop(&video));
-  }
 #endif
 }