Commit cf71ff08 authored by Roman Donchenko's avatar Roman Donchenko

Record OpenCV build type among the test properties.

Because apparently I love running performance tests for debug builds.
parent c5afaa4e
...@@ -2965,6 +2965,16 @@ void printVersionInfo(bool useStdOut) ...@@ -2965,6 +2965,16 @@ void printVersionInfo(bool useStdOut)
if(useStdOut) std::cout << "Inner VCS version: " << ver << std::endl; if(useStdOut) std::cout << "Inner VCS version: " << ver << std::endl;
} }
const char * build_type =
#ifdef _DEBUG
"debug";
#else
"release";
#endif
::testing::Test::RecordProperty("cv_build_type", build_type);
if (useStdOut) std::cout << "Build type: " << build_type << std::endl;
const char* parallel_framework = currentParallelFramework(); const char* parallel_framework = currentParallelFramework();
if (parallel_framework) { if (parallel_framework) {
......
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