Commit 7c619cba authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #1839 from alalek:disable_nonfree_tests

parents 6c4cb5d8 811037d1
......@@ -327,23 +327,40 @@ void flyTest(bool hiDense, bool inequal)
ASSERT_LT(cv::norm(kfPose.translation() - pose.translation()), poseThreshold);
}
#ifdef OPENCV_ENABLE_NONFREE
TEST( KinectFusion, lowDense )
#else
TEST(KinectFusion, DISABLED_lowDense)
#endif
{
flyTest(false, false);
}
#ifdef OPENCV_ENABLE_NONFREE
TEST( KinectFusion, highDense )
#else
TEST(KinectFusion, DISABLED_highDense)
#endif
{
flyTest(true, false);
}
#ifdef OPENCV_ENABLE_NONFREE
TEST( KinectFusion, inequal )
#else
TEST(KinectFusion, DISABLED_inequal)
#endif
{
flyTest(false, true);
}
#ifdef HAVE_OPENCL
#ifdef OPENCV_ENABLE_NONFREE
TEST( KinectFusion, OCL )
#else
TEST(KinectFusion, DISABLED_OCL)
#endif
{
cv::ocl::setUseOpenCL(false);
flyTest(false, false);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment