Commit 17608f7a authored by Vladislav Vinogradov's avatar Vladislav Vinogradov

make NVIDIA tests verbose by default

parent 81ebe28c
...@@ -58,7 +58,7 @@ int main(int argc, char** argv) ...@@ -58,7 +58,7 @@ int main(int argc, char** argv)
"{ h | help ? | false | Print help}" "{ h | help ? | false | Print help}"
"{ i | info | false | Print information about system and exit }" "{ i | info | false | Print information about system and exit }"
"{ d | device | -1 | Device on which tests will be executed (-1 means all devices) }" "{ 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); CommandLineParser cmd(argc, (const char**)argv, keys);
......
...@@ -323,7 +323,8 @@ static void devNullOutput(const std::string& msg) ...@@ -323,7 +323,8 @@ static void devNullOutput(const std::string& msg)
bool nvidia_NPPST_Integral_Image(const std::string& test_data_path, OutputLevel outputLevel) bool nvidia_NPPST_Integral_Image(const std::string& test_data_path, OutputLevel outputLevel)
{ {
path = test_data_path.c_str(); path = test_data_path.c_str();
ncvSetDebugOutputHandler(devNullOutput); if (outputLevel != OutputLevelFull)
ncvSetDebugOutputHandler(devNullOutput);
NCVAutoTestLister testListerII("NPPST Integral Image", outputLevel); NCVAutoTestLister testListerII("NPPST Integral Image", outputLevel);
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
#ifdef HAVE_CUDA #ifdef HAVE_CUDA
OutputLevel nvidiaTestOutputLevel = OutputLevelNone; OutputLevel nvidiaTestOutputLevel = OutputLevelFull;
using namespace cvtest; using namespace cvtest;
using namespace testing; using namespace testing;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment