mirror of
https://github.com/opencv/opencv.git
synced 2025-06-07 17:44:04 +08:00
Turn off video IO perf tests on Android
This commit is contained in:
parent
fcad269e53
commit
ad982f4ed6
@ -6,6 +6,8 @@ using namespace perf;
|
|||||||
using std::tr1::make_tuple;
|
using std::tr1::make_tuple;
|
||||||
using std::tr1::get;
|
using std::tr1::get;
|
||||||
|
|
||||||
|
#ifndef ANDROID
|
||||||
|
|
||||||
typedef perf::TestBaseWithParam<String> VideoCapture_Reading;
|
typedef perf::TestBaseWithParam<String> VideoCapture_Reading;
|
||||||
|
|
||||||
PERF_TEST_P(VideoCapture_Reading, ReadFile, testing::Values( "highgui/video/big_buck_bunny.avi",
|
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();
|
bool dummy = cap.isOpened();
|
||||||
SANITY_CHECK(dummy);
|
SANITY_CHECK(dummy);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif //ANDROID
|
@ -6,6 +6,8 @@ using namespace perf;
|
|||||||
using std::tr1::make_tuple;
|
using std::tr1::make_tuple;
|
||||||
using std::tr1::get;
|
using std::tr1::get;
|
||||||
|
|
||||||
|
#ifndef ANDROID
|
||||||
|
|
||||||
typedef std::tr1::tuple<String, bool> VideoWriter_Writing_t;
|
typedef std::tr1::tuple<String, bool> VideoWriter_Writing_t;
|
||||||
typedef perf::TestBaseWithParam<VideoWriter_Writing_t> VideoWriter_Writing;
|
typedef perf::TestBaseWithParam<VideoWriter_Writing_t> VideoWriter_Writing;
|
||||||
|
|
||||||
@ -28,3 +30,5 @@ PERF_TEST_P(VideoWriter_Writing, WriteFrame,
|
|||||||
bool dummy = writer.isOpened();
|
bool dummy = writer.isOpened();
|
||||||
SANITY_CHECK(dummy);
|
SANITY_CHECK(dummy);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif //ANDROID
|
Loading…
Reference in New Issue
Block a user