Merge remote-tracking branch 'origin/2.4' into merge-2.4
Conflicts: apps/CMakeLists.txt modules/contrib/CMakeLists.txt modules/core/include/opencv2/core/version.hpp modules/imgproc/include/opencv2/imgproc/imgproc.hpp modules/java/generator/gen_java.py modules/ocl/include/opencv2/ocl/ocl.hpp modules/ocl/src/cl_runtime/cl_runtime.cpp modules/ocl/src/columnsum.cpp modules/ocl/src/filtering.cpp modules/ocl/src/imgproc.cpp modules/ocl/test/main.cpp modules/ocl/test/test_color.cpp modules/ocl/test/test_imgproc.cpp samples/gpu/CMakeLists.txt
This commit is contained in:
@@ -759,7 +759,10 @@ class TestSuite(object):
|
||||
return hostlogpath
|
||||
return None
|
||||
elif path == "java":
|
||||
cmd = [self.ant_executable, "-DjavaLibraryPath=" + self.tests_dir, "buildAndTest"]
|
||||
cmd = [self.ant_executable,
|
||||
"-Dopencv.build.type="
|
||||
+ (self.options.configuration if self.options.configuration else self.build_type),
|
||||
"buildAndTest"]
|
||||
|
||||
print >> _stderr, "Run command:", " ".join(cmd)
|
||||
try:
|
||||
|
@@ -2968,6 +2968,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) {
|
||||
|
Reference in New Issue
Block a user