From 9af8c39694d3ce0035b896d668ac6e57266e9898 Mon Sep 17 00:00:00 2001 From: KO Myung-Hun Date: Sun, 30 Aug 2015 16:28:41 +0900 Subject: [PATCH] test: limit the valid image size on OS/2 Without this, test_libvpx crashes at VP9FrameSizeTestsLarge.ValidSizes on OS/2. Change-Id: If253fb95a04216babed56458f0fab8c70523fc7e --- test/frame_size_tests.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/frame_size_tests.cc b/test/frame_size_tests.cc index 95cc66adc..d39c8f6ee 100644 --- a/test/frame_size_tests.cc +++ b/test/frame_size_tests.cc @@ -74,7 +74,7 @@ TEST_F(VP9FrameSizeTestsLarge, ValidSizes) { // size or almost 1 gig of memory. // In total the allocations will exceed 2GiB which may cause a failure with // mingw + wine, use a smaller size in that case. -#if defined(_WIN32) && !defined(_WIN64) +#if defined(_WIN32) && !defined(_WIN64) || defined(__OS2__) video.SetSize(4096, 3072); #else video.SetSize(4096, 4096); -- 2.40.0