[opencv] 165/251: ts: don't run DNN tests with large models (valgrind)

Nobuhiro Iwamatsu iwamatsu at moszumanska.debian.org
Sun Aug 27 23:27:38 UTC 2017


This is an automated email from the git hooks/post-receive script.

iwamatsu pushed a commit to annotated tag 3.3.0
in repository opencv.

commit d17b099994ef86d7f223a091536482737ef5fd5a
Author: Alexander Alekhin <alexander.alekhin at intel.com>
Date:   Mon Jul 24 19:24:46 2017 +0300

    ts: don't run DNN tests with large models (valgrind)
---
 modules/ts/misc/run_long.py | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/modules/ts/misc/run_long.py b/modules/ts/misc/run_long.py
index 6ae76ae..d2ef41f 100644
--- a/modules/ts/misc/run_long.py
+++ b/modules/ts/misc/run_long.py
@@ -7,6 +7,7 @@ from pprint import PrettyPrinter as PP
 
 LONG_TESTS_DEBUG_VALGRIND = [
     ('calib3d', 'Calib3d_InitUndistortRectifyMap.accuracy', 2017.22),
+    ('dnn', 'Reproducibility*', 1000), # large DNN models
     ('features2d', 'Features2d_Feature2d.no_crash', 1235.68),
     ('ml', 'ML_RTrees.regression', 1423.47),
     ('optflow', 'DenseOpticalFlow_DeepFlow.ReferenceAccuracy', 1360.95),
@@ -43,10 +44,8 @@ LONG_TESTS_DEBUG_VALGRIND = [
 ]
 
 
-def longTestFilter(data):
-    res = ['*', '-']
-    for _, v, _ in data:
-        res.append(v)
+def longTestFilter(data, module = None):
+    res = ['*', '-'] + [v for _, v, m in data if module is None or m == module]
     return '--gtest_filter={}'.format(':'.join(res))
 
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/opencv.git



More information about the debian-science-commits mailing list