1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 08:13:04 +04:00

disabled MOG tests if no video input support

This commit is contained in:
Ilya Lavrenov
2013-09-13 12:47:25 +04:00
parent e3710488a8
commit 9311f84109
2 changed files with 35 additions and 13 deletions
+16 -1
View File
@@ -53,7 +53,20 @@ using namespace cvtest;
using namespace testing;
using namespace std;
extern string workdir;
#if defined(HAVE_XINE) || \
defined(HAVE_GSTREAMER) || \
defined(HAVE_QUICKTIME) || \
defined(HAVE_AVFOUNDATION) || \
defined(HAVE_FFMPEG) || \
defined(WIN32)
# define BUILD_WITH_VIDEO_INPUT_SUPPORT 1
#else
# define BUILD_WITH_VIDEO_INPUT_SUPPORT 0
#endif
#if BUILD_WITH_VIDEO_INPUT_SUPPORT
//////////////////////////////////////////////////////
// MOG
@@ -225,3 +238,5 @@ INSTANTIATE_TEST_CASE_P(OCL_Video, mog2, testing::Combine(
Values(true, false)));
#endif
#endif