added check into opencv_test_gpu: whether OpenCV was compiled with CUDA or not

This commit is contained in:
Alexey Spizhevoy
2011-02-21 06:46:45 +00:00
parent 58cb6c268e
commit e3b3982de6
3 changed files with 13 additions and 9 deletions

View File

@@ -125,11 +125,7 @@ struct CV_GpuMeanShiftTest : public cvtest::BaseTest
};
/////////////////////////////////////////////////////////////////////////////
/////////////////// tests registration /////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
CV_GpuMeanShiftTest CV_GpuMeanShift_test;
TEST(meanShift, accuracy) { CV_GpuMeanShiftTest test; test.safe_run(); }
struct CV_GpuMeanShiftProcTest : public cvtest::BaseTest
{