1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-20 04:25:42 +08:00

xfeatures2d(test): disable tests with required non-free code

This commit is contained in:
Alexander Alekhin
2018-07-11 15:52:32 +03:00
parent 1e096c6c01
commit 0a8d930341
10 changed files with 35 additions and 11 deletions

View File

@@ -11,6 +11,7 @@ typedef perf::TestBaseWithParam<std::string> latch;
"cv/detectors_descriptors_evaluation/images_datasets/leuven/img1.png",\
"stitching/a3.png"
#ifdef OPENCV_ENABLE_NONFREE
PERF_TEST_P(latch, extract, testing::Values(LATCH_IMAGES))
{
string filename = getDataPath(GetParam());
@@ -30,5 +31,6 @@ PERF_TEST_P(latch, extract, testing::Values(LATCH_IMAGES))
SANITY_CHECK_NOTHING();
}
#endif // NONFREE
}} // namespace