From ad982f4ed6e2baba92bf68ce162891dca141b286 Mon Sep 17 00:00:00 2001 From: Andrey Kamaev Date: Fri, 26 Oct 2012 14:55:16 +0400 Subject: [PATCH] Turn off video IO perf tests on Android --- modules/highgui/perf/perf_input.cpp | 4 ++++ modules/highgui/perf/perf_output.cpp | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/modules/highgui/perf/perf_input.cpp b/modules/highgui/perf/perf_input.cpp index 06e3c2c928..a2ce1fe910 100644 --- a/modules/highgui/perf/perf_input.cpp +++ b/modules/highgui/perf/perf_input.cpp @@ -6,6 +6,8 @@ using namespace perf; using std::tr1::make_tuple; using std::tr1::get; +#ifndef ANDROID + typedef perf::TestBaseWithParam VideoCapture_Reading; PERF_TEST_P(VideoCapture_Reading, ReadFile, testing::Values( "highgui/video/big_buck_bunny.avi", @@ -23,3 +25,5 @@ PERF_TEST_P(VideoCapture_Reading, ReadFile, testing::Values( "highgui/video/big_ bool dummy = cap.isOpened(); SANITY_CHECK(dummy); } + +#endif //ANDROID \ No newline at end of file diff --git a/modules/highgui/perf/perf_output.cpp b/modules/highgui/perf/perf_output.cpp index 851a2a6a0f..95f993803f 100644 --- a/modules/highgui/perf/perf_output.cpp +++ b/modules/highgui/perf/perf_output.cpp @@ -6,6 +6,8 @@ using namespace perf; using std::tr1::make_tuple; using std::tr1::get; +#ifndef ANDROID + typedef std::tr1::tuple VideoWriter_Writing_t; typedef perf::TestBaseWithParam VideoWriter_Writing; @@ -28,3 +30,5 @@ PERF_TEST_P(VideoWriter_Writing, WriteFrame, bool dummy = writer.isOpened(); SANITY_CHECK(dummy); } + +#endif //ANDROID \ No newline at end of file