make NVIDIA tests verbose by default
authorVladislav Vinogradov <vlad.vinogradov@itseez.com>
Mon, 13 Apr 2015 14:11:19 +0000 (17:11 +0300)
committerVladislav Vinogradov <vlad.vinogradov@itseez.com>
Mon, 13 Apr 2015 14:11:19 +0000 (17:11 +0300)
modules/gpu/test/main.cpp
modules/gpu/test/nvidia/main_nvidia.cpp
modules/gpu/test/test_nvidia.cpp

index 01a2961..f9549fb 100644 (file)
@@ -58,7 +58,7 @@ int main(int argc, char** argv)
                 "{ h | help ?            | false | Print help}"
                 "{ i | info              | false | Print information about system and exit }"
                 "{ d | device            | -1   | Device on which tests will be executed (-1 means all devices) }"
-                "{ nvtest_output_level | nvtest_output_level | none | NVidia test verbosity level (none, compact, full) }"
+                "{ nvtest_output_level | nvtest_output_level | full | NVidia test verbosity level (none, compact, full) }"
                 ;
 
         CommandLineParser cmd(argc, (const char**)argv, keys);
index 0708315..32f83d3 100644 (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);
 
index d713b41..e065356 100644 (file)
@@ -44,7 +44,7 @@
 
 #ifdef HAVE_CUDA
 
-OutputLevel nvidiaTestOutputLevel = OutputLevelNone;
+OutputLevel nvidiaTestOutputLevel = OutputLevelFull;
 
 using namespace cvtest;
 using namespace testing;