Highgui_Tiff.decode_tile16384x16384 disabled for Android.
authorAlexander Smorkalov <alexander.smorkalov@itseez.com>
Tue, 25 Feb 2014 06:36:20 +0000 (10:36 +0400)
committerAlexander Smorkalov <alexander.smorkalov@itseez.com>
Tue, 25 Feb 2014 06:36:20 +0000 (10:36 +0400)
Last changes in test leads to SIGKILL on Android.
SIGKILL is called by out of memory killer.

modules/highgui/test/test_grfmt.cpp

index f451036..aa1a845 100644 (file)
@@ -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));