From dbb7aa7856282a09eec452ffa25205fcd5bd5659 Mon Sep 17 00:00:00 2001 From: Alexander Smorkalov Date: Tue, 25 Feb 2014 10:36:20 +0400 Subject: [PATCH] Highgui_Tiff.decode_tile16384x16384 disabled for Android. Last changes in test leads to SIGKILL on Android. SIGKILL is called by out of memory killer. --- modules/highgui/test/test_grfmt.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/highgui/test/test_grfmt.cpp b/modules/highgui/test/test_grfmt.cpp index f451036..aa1a845 100644 --- a/modules/highgui/test/test_grfmt.cpp +++ b/modules/highgui/test/test_grfmt.cpp @@ -392,7 +392,13 @@ TEST(Highgui_Jpeg, encode_empty) #define int64 int64_hack_ #include "tiff.h" +#ifdef ANDROID +// Test disabled as it uses a lot of memory. +// It is killed with SIGKILL by out of memory killer. +TEST(Highgui_Tiff, DISABLED_decode_tile16384x16384) +#else TEST(Highgui_Tiff, decode_tile16384x16384) +#endif { // see issue #2161 cv::Mat big(16384, 16384, CV_8UC1, cv::Scalar::all(0)); -- 2.7.4