disabled utility code in gpu tests when WITH_CUDA=false

This commit is contained in:
Vladislav Vinogradov
2012-09-13 12:17:35 +04:00
parent fd77ef7ece
commit 35b671efb5
5 changed files with 21 additions and 27 deletions

View File

@@ -41,13 +41,13 @@
#include "test_precomp.hpp"
OutputLevel nvidiaTestOutputLevel = OutputLevelCompact;
#ifdef HAVE_CUDA
using namespace cvtest;
using namespace testing;
OutputLevel nvidiaTestOutputLevel = OutputLevelCompact;
struct NVidiaTest : TestWithParam<cv::gpu::DeviceInfo>
{
cv::gpu::DeviceInfo devInfo;