Hamdi Sahloul
1059735bfb
Merge pull request #12667 from cv3d:fix/ts_report
...
TS: fix Python v2/v3 compatibility (#12667 )
* TS: fix Python2.7 compatibility
* TS: fix Python3 compatibility
* py3: use integer division '/' => '//' instead of cast
6 years ago
Hamdi Sahloul
1a81a97e9f
Utilize the currently running Python executable
...
especially if it matches the module being tested
6 years ago
Alexander Alekhin
ec9c53eeff
ts: update valgrind test filter
...
- DNN: avoid very large models
- build filter per module
- fixed longTestFilter
6 years ago
Vitaly Tuzov
1f88a1af9c
testlog_parser updated to handle output of latest GTest as well
6 years ago
Alexander Alekhin
af883e88e1
ts: support QEMU launcher
6 years ago
Alexander Alekhin
a00182db8e
ts: run.py passthrough --test_* args "as is"
...
to allow pass `--test_bigdata` via run.py
7 years ago
Alexander Alekhin
78f205ffa5
python: better Python 3 support
7 years ago
cclauss
8a79b167b8
Define execfile, file, long, raw_input, xrange for Python 3
7 years ago
cclauss
de99f53e94
Don't forget self in table_formatter.py
...
__ridx__ is an _undefined name_ in this context but __self.ridx__ is used three other times in this method and nine times in this class. Undefined names may raise [NameError](https://docs.python.org/3/library/exceptions.html#NameError ) at runtime.
flake8 testing of https://github.com/opencv/opencv
$ __flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics__
```
./modules/ts/misc/table_formatter.py:50:23: F821 undefined name 'ridx'
self.rows[ridx + 1].props = properties
^
```
7 years ago
cclauss
05c1a3d160
print() is a function in Python 3
7 years ago
Alexander Alekhin
daf3368d2e
perf reports: remove units from table cells
...
- moved to table title
- can be restored via '--show_units' option
- fix microseconds: mks -> us
7 years ago
Maksim Shabunin
8ba88892d7
run.py: simplified scripts, fixed most of PEP8 warnings
7 years ago
Alexander Alekhin
8533b45ce9
cmake: Java/Android SDK refactoring
7 years ago
Alexander Alekhin
3a8a73ef6c
ocl: skip unstable tests
...
during pre-commit testing
7 years ago
Alexander Alekhin
9e9881aacc
ts(misc): support tables exporting in markdown format
...
basic support only (no symbol escapes/sanitizing)
7 years ago
Alexander Alekhin
94dbc35d92
features2d(test): more AKAZE tests
7 years ago
Alexander Alekhin
aad6d28e13
ts: don't run large videoio test (valgrind)
7 years ago
Alexander Alekhin
1650c664bc
ts: don't run imgcodecs tests on large images (valgrind)
7 years ago
Alexander Alekhin
d17b099994
ts: don't run DNN tests with large models (valgrind)
7 years ago
Alexander Alekhin
bf0173bf38
ts: update valgrind suppressions
7 years ago
Alexander Alekhin
006966e629
trace: initial support for code trace
8 years ago
Alexander Alekhin
36b34465a4
cmake: include contrib modules into opencv_world
8 years ago
mshabunin
f5bf1e510b
Test run script: added long test filter for valgrind
8 years ago
Alexander Alekhin
c57f145e90
ts: update run.py
...
Add information about python bindings
8 years ago
Alexander Alekhin
8577f71810
ts: 2.4 changes
8 years ago
Alexander Alekhin
6f00e53159
ts: update run.py
...
Add information about python bindings
8 years ago
Maksim Shabunin
7cb78451d1
Backported several changes from master branch:
...
- #3771 - inline round on ARM
- #5633 - documentation for MSER
- #5666 - run.py fixes
9 years ago
Maksim Shabunin
c3cf1be344
fixup! run.py: issues with forced configuration fixed
9 years ago
Maksim Shabunin
7df392bfd8
run.py: issues with forced configuration fixed
9 years ago
Maksim Shabunin
97878645bc
Fix run.py test detection issues for debug VS configurations
9 years ago
Maksim Shabunin
1e869c5e49
ts: refactor run.py script
...
Conflicts:
modules/ts/misc/run.py
9 years ago
Maksim Shabunin
90c74e3be0
ts: refactor run.py script
9 years ago
Evgeny Agafonchikov
ae090fe10d
Functionality for relocation of tests
...
This allows to start run.py with --move_tests parameter to place tests
to another location and keep them runnable from there
10 years ago
Evgeny Agafonchikov
1f04f9d63b
Fixing help messages
...
--help message and starting run.py w/o parameters generate different messages
E. g. w/ and w/o build_path in the end
build_path is required, removing square brackets
10 years ago
Andrey Kamaev
c105b72945
Assorted fixes:
...
* cmake CMP0054 and CMP0045
* aarch64 build
* portable code options in PCH cmake
* some of gcc 4.9 warnings
10 years ago
Alexander Alekhin
e6f6905868
run.py: propagate OPENCV* env variables only with --android_propagate_opencv_env flag
11 years ago
Alexander Alekhin
766600529b
run.py: added --android_env parameter
11 years ago
Alexander Alekhin
eeed9ce247
perf report: summary.py: added custom --regressions map
11 years ago
Vladimir Kolesnikov
60803afe8f
Misprint fixed in table formatter
11 years ago
Ilya Lavrenov
29deff8707
ability to merge logs with intersections only
11 years ago
Ilya Lavrenov
eedf86402d
typos
11 years ago
Evgeniy
8236181c62
Added more colorizing options to XLS generating script
11 years ago
Alexander Smorkalov
514e97223c
Some hacks to build and run OpenCL on Qualcomm S800.
...
Some of functions were enabled on Qualcomm S800 by changing grid size;
OpenCL kernel grid size unification for different platfroms;
Test pass rate improvements by inclreasing threshold;
Some tests were disabled for Android;
run.py was adopted for devices with brackets in in name.
11 years ago
Alexander Alekhin
c1541c9e79
perf report: summary.py: added --progress mode
11 years ago
Roman Donchenko
5bb6949bd6
Fix running Java tests with run.py on everything other than Windows.
...
Previously, run.py would assume that the opencv_java library is in the
same directory as the tests, which is only true on Windows.
The library path depends on the build configuration, which may not be
known until the actual build (e.g. with the Visual Studio generators),
so it can't be stored in the CMake cache for run.py to read. I didn't
want to hardcode into run.py where the library is on each platform,
either. So that's why I used the current scheme with the properties
file. It also makes running the tests without run.py a little easier.
11 years ago
Alexander Alekhin
3eba2011b9
test: run.py: return valid errorCode in case of the single test run
11 years ago
Roman Donchenko
e9a28f66ee
Normalized file endings.
11 years ago
Roman Donchenko
e23f31311d
xls-report.py: separated image width and height for easier analysis.
11 years ago
Roman Donchenko
1432f3a82c
Fix xls-report.py not working with more than one comparison.
11 years ago
Roman Donchenko
ea3239a00e
xls-report.py: Added an option to show per-pixel times
12 years ago