mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 03:00:14 +08:00
ignore tests dependent on flann when flann module is absent
This commit is contained in:
parent
5ecf5f106a
commit
c0f435349a
@ -558,6 +558,7 @@ TEST( Features2d_DMatch, read_write )
|
|||||||
ASSERT_NE( strstr(str.c_str(), "4.5"), (char*)0 );
|
ASSERT_NE( strstr(str.c_str(), "4.5"), (char*)0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef HAVE_OPENCV_FLANN
|
||||||
TEST( Features2d_FlannBasedMatcher, read_write )
|
TEST( Features2d_FlannBasedMatcher, read_write )
|
||||||
{
|
{
|
||||||
static const char* ymlfile = "%YAML:1.0\n---\n"
|
static const char* ymlfile = "%YAML:1.0\n---\n"
|
||||||
@ -594,7 +595,7 @@ TEST( Features2d_FlannBasedMatcher, read_write )
|
|||||||
|
|
||||||
EXPECT_EQ(ymlfile, out);
|
EXPECT_EQ(ymlfile, out);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
TEST(Features2d_DMatch, issue_11855)
|
TEST(Features2d_DMatch, issue_11855)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user