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
Roman Donchenko
cf71ff0845
Record OpenCV build type among the test properties.
...
Because apparently I love running performance tests for debug builds.
11 years ago
Alexander Alekhin
376cd8f84f
perf: added simple collection strategy
11 years ago
Alexander Alekhin
1980aad8d7
ocl: dump device info in tests
11 years ago
Alexander Alekhin
3eba2011b9
test: run.py: return valid errorCode in case of the single test run
11 years ago
Roman Donchenko
e65eb4e042
Updated Google Test to 1.7.0.
11 years ago
Alexander Alekhin
66e4aead97
perf tests: added SANITY_CHECK_NOTHING()
11 years ago
Alexander Alekhin
958604a68e
perf test: update error message about relative error
11 years ago
Vladislav Vinogradov
fd88654b45
replaced GPU -> CUDA
11 years ago
Vladislav Vinogradov
3c34b24f1f
replaced gpu->cuda in files names
11 years ago
Vladislav Vinogradov
cfe4a71dc6
renamed gpu* source to cuda* in core module
11 years ago
Vladislav Vinogradov
e895b7455e
renamed gpu namespace -> cuda
11 years ago
Roman Donchenko
e9a28f66ee
Normalized file endings.
11 years ago
Vladislav Vinogradov
2899d558ac
record cuda gpu name to output report
11 years ago
Vladislav Vinogradov
b7ec673001
added cvconfig.h header, because ts_perf.cpp uses HAVE_CUDA macros
11 years ago
Vladislav Vinogradov
9f33de7071
added cvconfig.hpp header file to gpu tests
...
it uses HAVE_CUDA, HAVE_NVCUVID, etc. macroses
11 years ago
kocheganovvm
e4b201be25
Fix unsequenced modifications (Bug #3179 ).
11 years ago
Roman Donchenko
d9f71b762f
Deleted almost all of the precomp.cpp files.
...
Looks like we don't actually use them; when creating precompiled headers
with Visual C++, a dummy .cpp is created at build time.
11 years ago
Roman Donchenko
e23f31311d
xls-report.py: separated image width and height for easier analysis.
11 years ago
Roman Donchenko
131458847b
Make ts always static.
...
This allows us to forget about the GTEST_(CREATE|LINKED_AS)_SHARED_LIBRARY
macros and to get rid of the dependency on cvconfig.h.
11 years ago
Alexander Smorkalov
63786c389f
Warning and review notes fixes.
...
WITH_WINRT -> ENABLE_WINRT_MODE;
Some temporary char* replaced with Ptr<char>;
Build fix for regular WIN32;
Windows Platform SDK and MSVC search added to cmake;
Warinig fixes.
11 years ago
Roman Donchenko
1432f3a82c
Fix xls-report.py not working with more than one comparison.
12 years ago
Vladislav Vinogradov
f87ef77269
removed GPU_/CPU_ prefix from gpu's sanity test
12 years ago
Vladislav Vinogradov
4716f63444
fixed gpu performance tests:
...
used new CV_PERF_TEST_MAIN_WITH_IMPLS mechanism
12 years ago
Roman Donchenko
ac39bfb4cc
Remove HAVE_CVCONFIG_H - it's always defined.
12 years ago
Roman Donchenko
ea3239a00e
xls-report.py: Added an option to show per-pixel times
12 years ago
Roman Donchenko
5b2dc26f2c
Made the crude ability less crude.
12 years ago
Roman Donchenko
215b3e749f
Added to the test log parser a crude ability to detect non-implemented tests.
12 years ago
Roman Donchenko
1080c4295a
xls-report.py: removed image size and type from the list of other parameters.
...
Also, shrunk the corresponding column and the test name column.
12 years ago
Roman Donchenko
63d151a29c
xls-report.py: add ability to specify arbitrary sheet properties
12 years ago
Roman Donchenko
2b44172026
xls-report.py: make behaviour more intelligent in case of repeated results
12 years ago
Roman Donchenko
0732905cff
xls-report.py: write tests in sorted order
12 years ago
Roman Donchenko
ea054e2888
xls-report.py: made most columns a little wider
12 years ago
Roman Donchenko
4e939e2fce
xls-report.py: added an option to include data from unrecognized XMLs
12 years ago
Roman Donchenko
83fd385bbd
xls-report.py: don't eat all errors when reading sheet.conf
12 years ago
Roman Donchenko
664b720e4d
Extended Google Test to allow filtering by parameter value.
12 years ago
Roman Donchenko
c16316c4b4
Replaced the semi-public CV_PARALLEL_FRAMEWORK macro with a function.
...
That way, core/internal.hpp doesn't have to depend on cvconfig.h, which we
don't ship.
12 years ago
Vladislav Vinogradov
98bd401534
fix gpu::DeviceInfo compilation under linux
...
glibc defines major and minor macros
which conflict with gpu::DeviceInfo methods with the same name
12 years ago
Roman Donchenko
d4a8b87645
Wrote relevant docs.
12 years ago
Roman Donchenko
0e3a9eaf98
Made Collector render property sets as dicts instead of tuples of pairs.
12 years ago
Roman Donchenko
2688e22cb5
Made xls-report.py use global properties in XML files.
...
Now it can determine, without looking at the file name, both the module
name and the configuration name (the latter with a little help from the
configuration file).
12 years ago
Roman Donchenko
57317c3196
Use log formatting as intended.
12 years ago
Roman Donchenko
3ea4836a0a
Changed the impls argument to be an array name.
...
Turns out, you can't use preprocessor directives inside macro arguments.
Who'd have thought?
12 years ago
Roman Donchenko
3e2c456313
A few minor improvements to the XLS report generator.
...
* In comparison column headers, switched the order of labels, so that
it's "to" vs "from".
* When a test was present, but not run successfully, put its status in
the corresponding cell instead of coloring it gray.
12 years ago
Roman Donchenko
7a104d2793
Added an option to print available implementation variants.
12 years ago
Roman Donchenko
b581f27249
Made perf tests record module name, selected implementation and number of threads.
12 years ago
Roman Donchenko
936236e4b1
Extended the CPU/GPU selection mechanism in performance tests.
...
Now it allows choosing between arbitrary implementation variants.
12 years ago
Roman Donchenko
d58421c08e
Make version-related test properties more useful.
...
Namely, normalize their names to a common convention and remove useless text
from their values.
12 years ago
Roman Donchenko
4af7d65224
Made tests record information about CPU features and Tegra optimization status.
12 years ago
Roman Donchenko
24d84a45b1
Made tests record in the XML output which parallel framework was used.
12 years ago