make NVIDIA tests verbose by default

(cherry picked from commit 17608f7ade)
This commit is contained in:
Vladislav Vinogradov
2015-04-13 17:11:19 +03:00
committed by Alexander Smorkalov
parent f08dd510fa
commit 55339de684
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);