Record OpenCV build type among the test properties.

Because apparently I love running performance tests for debug builds.
pull/1620/head
Roman Donchenko 12 years ago
parent c5afaa4e8d
commit cf71ff0845
  1. 10
      modules/ts/src/ts_func.cpp

@ -2965,6 +2965,16 @@ void printVersionInfo(bool useStdOut)
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();
if (parallel_framework) {

Loading…
Cancel
Save