Made tests record in the XML output which parallel framework was used.

This commit is contained in:
Roman Donchenko
2013-06-17 21:06:15 +04:00
parent 843094a07f
commit 24d84a45b1
4 changed files with 42 additions and 21 deletions

View File

@@ -1,4 +1,6 @@
#include "opencv2/core/core.hpp"
#include "opencv2/core/core_c.h"
#include "opencv2/core/internal.hpp"
#include "opencv2/ts/ts.hpp"
#ifdef GTEST_LINKED_AS_SHARED_LIBRARY

View File

@@ -2958,6 +2958,14 @@ void printVersionInfo(bool useStdOut)
::testing::Test::RecordProperty("inner_version", ver);
if(useStdOut) std::cout << ver << std::endl;
}
#ifdef CV_PARALLEL_FRAMEWORK
::testing::Test::RecordProperty("cv_parallel_framework", CV_PARALLEL_FRAMEWORK);
if (useStdOut)
{
std::cout << "Parallel framework: " << CV_PARALLEL_FRAMEWORK << std::endl;
}
#endif
}
} //namespace cvtest