Skip to content

Commit

Permalink
ignore tests dependent on flann when flann module is absent
Browse files Browse the repository at this point in the history
  • Loading branch information
Yosshi999 committed May 18, 2020
1 parent 5ecf5f1 commit c0f4353
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/features2d/test/test_matchers_algorithmic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -558,6 +558,7 @@ TEST( Features2d_DMatch, read_write )
ASSERT_NE( strstr(str.c_str(), "4.5"), (char*)0 );
}

#ifdef HAVE_OPENCV_FLANN
TEST( Features2d_FlannBasedMatcher, read_write )
{
static const char* ymlfile = "%YAML:1.0\n---\n"
Expand Down Expand Up @@ -594,7 +595,7 @@ TEST( Features2d_FlannBasedMatcher, read_write )

EXPECT_EQ(ymlfile, out);
}

#endif

TEST(Features2d_DMatch, issue_11855)
{
Expand Down

0 comments on commit c0f4353

Please sign in to comment.