Skip to content

Commit

Permalink
Turn off video IO perf tests on Android
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Kamaev committed Oct 26, 2012
1 parent fcad269 commit ad982f4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/highgui/perf/perf_input.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ using namespace perf;
using std::tr1::make_tuple;
using std::tr1::get;

#ifndef ANDROID

typedef perf::TestBaseWithParam<String> VideoCapture_Reading;

PERF_TEST_P(VideoCapture_Reading, ReadFile, testing::Values( "highgui/video/big_buck_bunny.avi",
Expand All @@ -23,3 +25,5 @@ PERF_TEST_P(VideoCapture_Reading, ReadFile, testing::Values( "highgui/video/big_
bool dummy = cap.isOpened();
SANITY_CHECK(dummy);
}

#endif //ANDROID
4 changes: 4 additions & 0 deletions modules/highgui/perf/perf_output.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ using namespace perf;
using std::tr1::make_tuple;
using std::tr1::get;

#ifndef ANDROID

typedef std::tr1::tuple<String, bool> VideoWriter_Writing_t;
typedef perf::TestBaseWithParam<VideoWriter_Writing_t> VideoWriter_Writing;

Expand All @@ -28,3 +30,5 @@ PERF_TEST_P(VideoWriter_Writing, WriteFrame,
bool dummy = writer.isOpened();
SANITY_CHECK(dummy);
}

#endif //ANDROID

0 comments on commit ad982f4

Please sign in to comment.