Hamdi Sahloul
2faa4cd933
TS/CUDA: Show device ID in case of multiple devices
6 years ago
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
6fc855865f
dnn(test): fix failures of 32-bit builders
6 years ago
Hamdi Sahloul
a39e0daacf
Utilize CV_UNUSED macro
6 years ago
Alexander Alekhin
8a3c394d6a
don't use constructors for C API structures
6 years ago
Hamdi Sahloul
3f3d805663
Workaround for GTest v1.8.1 + Visual Studio 2013 (vc12)
6 years ago
Alexander Alekhin
af883e88e1
ts: support QEMU launcher
6 years ago
Alexander Alekhin
3dddf703a9
ts: re-apply OpenCV-specific patch on googletest 1.8.1
6 years ago
Alexander Alekhin
f7ccc74e09
ts: update Google Test 1.8.1
...
Helper script from googletest: ./scripts/fuse_gtest_files.py
6 years ago
Alexander Alekhin
546fcd990e
ts: restore Google Test 1.8.0 (capture OpenCV specific patch)
6 years ago
Maksim Shabunin
cecf84410c
Added option to fail on missing testdata
6 years ago
Alexander Alekhin
af0c930e77
ts: don't pass NULL for std::string() constructor
6 years ago
luz.paz
2003eb1b9b
Misc. typos
...
Found via `codespell -q 3 -I ../opencv-whitelist.txt --skip="./3rdparty"`
6 years ago
Maksim Shabunin
597db69151
ts: test case list is printed after cmd line parsing, refactored
6 years ago
Alexander Alekhin
4283309daa
dnn: update tests for OpenVINO models
6 years ago
Alexander Alekhin
6e767e2376
ts: add findDataDirectory() function
6 years ago
Alexander Alekhin
f4df537e27
ts: fix PERF_TEST() macro to allow test_case name reusing
...
Example (reuse 'Transform' test case):
PERF_TEST(Transform, getPerspectiveTransform_1000) { ... }
PERF_TEST(Transform, getPerspectiveTransform_QR_1000) { ... }
6 years ago
Vadim Pisarevsky
f058b5fb1e
Wide univ intrinsics ( #11953 )
...
* core:OE-27 prepare universal intrinsics to expand (#11022 )
* core:OE-27 prepare universal intrinsics to expand (#11022 )
* core: Add universal intrinsics for AVX2
* updated implementation of wide univ. intrinsics; converted several OpenCV HAL functions: sqrt, invsqrt, magnitude, phase, exp to the wide universal intrinsics.
* converted log to universal intrinsics; cleaned up the code a bit; added v_lut_deinterleave intrinsics.
* core: Add universal intrinsics for AVX2
* fixed multiple compile errors
* fixed many more compile errors and hopefully some test failures
* fixed some more compile errors
* temporarily disabled IPP to debug exp & log; hopefully fixed Doxygen complains
* fixed some more compile errors
* fixed v_store(short*, v_float16&) signatures
* trying to fix the test failures on Linux
* fixed some issues found by alalek
* restored IPP optimization after the patch with AVX wide intrinsics has been properly tested
* restored IPP optimization after the patch with AVX wide intrinsics has been properly tested
6 years ago
Alexander Alekhin
c7fc563dc0
calib3d: chessboard detector - replace OpenCV C API
6 years ago
Alexander Alekhin
b09a4a98d4
opencv: Use cv::AutoBuffer<>::data()
6 years ago
Alexander Alekhin
04802e41e9
gtest: support parameters with types from anonymous namespace
7 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
6582afcdbb
ts: add BigData tests category (skipped by default)
...
Pass --test_bigdata to allow launching of "BigData" tests.
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
576d2dbac0
refactor: don't use CV_ErrorNoReturn() internally
7 years ago
Tomoaki Teshima
98d9369a38
add new comparison to tolerate with rounding error
...
* restore resize of carotene
* clean up the source code
* remove unused member function (Near)
* add strict test on the border
7 years ago
Maksim Shabunin
439072a2a6
Fixed two warnings produced by clang
7 years ago
Alexander Alekhin
773877cd12
ts: apply CV_OVERRIDE/CV_FINAL
...
- disable "-Wsuggest-override" in tests
7 years ago
luz.paz
d05714995c
Misc. modules/ cont. pt2
...
Found via `codespell`
7 years ago
Alexander Alekhin
44d7435a48
build: eliminate calls of removed functionality from C++17
...
Most part is deprecated since C++11
7 years ago
Alexander Alekhin
4a297a2443
ts: refactor OpenCV tests
...
- removed tr1 usage (dropped in C++17)
- moved includes of vector/map/iostream/limits into ts.hpp
- require opencv_test + anonymous namespace (added compile check)
- fixed norm() usage (must be from cvtest::norm for checks) and other conflict functions
- added missing license headers
7 years ago
Alexander Alekhin
f1e50ecab3
ts: fix missing std::tr1 (C++17)
7 years ago
Alexander Alekhin
01f4a173ab
opencv_version: dump OpenCL information via opencv_version
...
fix missing "opencv2/core/opencl" headers from core module (updated install list)
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
Alexander Alekhin
47998c03f8
perf: update message
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
5232ea1ee6
ts(feature): add "--test_threads=<N>" command-line option
7 years ago
Tomoaki Teshima
fe7b3f1228
clean up the code
...
* disable the warning in CMake, not int the code using pragma
7 years ago
Vitaly Tuzov
51cb56ef2c
Implementation of bit-exact resize. Internal calls to linear resize updated to use bit-exact version. ( #9468 )
7 years ago
Pavel Rojtberg
6fb9d42c3f
Hid symbols in static builds, added LTO flags, removed exports from ts
7 years ago
Alexander Alekhin
3a8a73ef6c
ocl: skip unstable tests
...
during pre-commit testing
7 years ago
Alexander Alekhin
0595ab3eef
ocl: fix usage of invalid OpenCL cache on mixed 64/32-bit platforms
...
Observed during launch of 32/64-bit applications on Windows.
Added '32-bit' prefix for 32-bit OpenCL devices. No prefix on 64-bit configurations.
7 years ago
Alexander Alekhin
486cfd1040
ts: detailed message
7 years ago