make NVIDIA tests verbose by default

This commit is contained in:
Vladislav Vinogradov
2015-04-13 17:11:19 +03:00
parent 81ebe28c24
commit 17608f7ade
3 changed files with 4 additions and 3 deletions

View File

@@ -323,7 +323,8 @@ static void devNullOutput(const std::string& msg)
bool nvidia_NPPST_Integral_Image(const std::string& test_data_path, OutputLevel outputLevel)
{
path = test_data_path.c_str();
ncvSetDebugOutputHandler(devNullOutput);
if (outputLevel != OutputLevelFull)
ncvSetDebugOutputHandler(devNullOutput);
NCVAutoTestLister testListerII("NPPST Integral Image", outputLevel);