diff --git a/modules/calib3d/perf/perf_pnp.cpp b/modules/calib3d/perf/perf_pnp.cpp index b32b96cae..44d390ef7 100644 --- a/modules/calib3d/perf/perf_pnp.cpp +++ b/modules/calib3d/perf/perf_pnp.cpp @@ -96,7 +96,7 @@ PERF_TEST(PointsNum_Algo, solveP3P) SANITY_CHECK(tvec, 1e-6); } -PERF_TEST_P(PointsNum, SolvePnPRansac, testing::Values(4, 3*9, 7*13)) +PERF_TEST_P(PointsNum, DISABLED_SolvePnPRansac, testing::Values(4, 3*9, 7*13)) { int count = GetParam(); diff --git a/modules/core/perf/perf_addWeighted.cpp b/modules/core/perf/perf_addWeighted.cpp index 742b684be..82ca45a02 100644 --- a/modules/core/perf/perf_addWeighted.cpp +++ b/modules/core/perf/perf_addWeighted.cpp @@ -23,6 +23,13 @@ PERF_TEST_P(Size_MatType, addWeighted, TYPICAL_MATS_ADWEIGHTED) declare.in(src1, src2, dst, WARMUP_RNG).out(dst); + if (CV_MAT_DEPTH(type) == CV_32S) + { + //see ticket 1529: absdiff can be without saturation on 32S + src1 /= 8; + src2 /= 8; + } + TEST_CYCLE() cv::addWeighted( src1, alpha, src2, beta, gamma, dst, dst.type() ); SANITY_CHECK(dst); diff --git a/modules/ts/src/ts_perf.cpp b/modules/ts/src/ts_perf.cpp index e66cbe5be..25e81858e 100644 --- a/modules/ts/src/ts_perf.cpp +++ b/modules/ts/src/ts_perf.cpp @@ -16,7 +16,7 @@ const std::string command_line_keys = "{ |perf_force_samples |100 |force set maximum number of samples for all tests}" "{ |perf_seed |809564 |seed for random numbers generator}" "{ |perf_threads |-1 |the number of worker threads, if parallel execution is enabled}" - "{ |perf_write_sanity | |allow to create new records for sanity checks}" + "{ |perf_write_sanity |false |allow to create new records for sanity checks}" #ifdef ANDROID "{ |perf_time_limit |6.0 |default time limit for a single test (in seconds)}" "{ |perf_affinity_mask |0 |set affinity mask for the main thread}" @@ -25,7 +25,7 @@ const std::string command_line_keys = "{ |perf_time_limit |3.0 |default time limit for a single test (in seconds)}" #endif "{ |perf_max_deviation |1.0 |}" - "{h |help | |print help info}" + "{h |help |false |print help info}" #ifdef HAVE_CUDA "{ |perf_run_cpu |false |run GPU performance tests for analogical CPU functions}" "{ |perf_cuda_device |0 |run GPU test suite onto specific CUDA capable device}"