disable some gpu tests if library was built without CUFFT

This commit is contained in:
Vladislav Vinogradov 2014-01-31 15:40:59 +04:00
parent 7161b5bbad
commit 8401ed9395
2 changed files with 8 additions and 0 deletions

View File

@ -851,6 +851,8 @@ PERF_TEST_P(Sz_Depth_Cn, ImgProc_BlendLinear,
}
}
#ifdef HAVE_CUFFT
//////////////////////////////////////////////////////////////////////
// Convolve
@ -1085,6 +1087,8 @@ PERF_TEST_P(Sz_Flags, ImgProc_Dft,
}
}
#endif
//////////////////////////////////////////////////////////////////////
// CornerHarris

View File

@ -563,6 +563,8 @@ INSTANTIATE_TEST_CASE_P(GPU_ImgProc, Blend, testing::Combine(
testing::Values(MatType(CV_8UC1), MatType(CV_8UC3), MatType(CV_8UC4), MatType(CV_32FC1), MatType(CV_32FC3), MatType(CV_32FC4)),
WHOLE_SUBMAT));
#ifdef HAVE_CUFFT
////////////////////////////////////////////////////////
// Convolve
@ -1090,6 +1092,8 @@ GPU_TEST_P(Dft, R2CThenC2R)
INSTANTIATE_TEST_CASE_P(GPU_ImgProc, Dft, ALL_DEVICES);
#endif
///////////////////////////////////////////////////////////////////////////////////////////////////////
// CornerHarris