fixing working with test data and a small fix for init code
authorAndrey Pavlenko <andrey.pavlenko@itseez.com>
Mon, 8 Jul 2013 17:12:21 +0000 (21:12 +0400)
committerAndrey Pavlenko <andrey.pavlenko@itseez.com>
Tue, 9 Jul 2013 09:25:21 +0000 (13:25 +0400)
commitfcb4c0e51c282bee7c0a1319d7ccb2008a5b2c93
tree61e74f3cd5abc0f5c37369d410f78f948b11b615
parent1a2458885ba5e1f08e08caf9d9fc8ce77bd11bb4
fixing working with test data and a small fix for init code
- set init value for `numsdev` to prevent use of uninitialized value
- stop use of 'workdir' and files from samples
- forcing use of 'opencv_extra' instead
Note: set OPENCV_TEST_DATA_PATH to full path to 'opencv_extra/testdata' (gitolite@code.opencv.org:opencv_extra.git) before running the test!
modules/ocl/src/initialization.cpp
modules/ocl/test/main.cpp
modules/ocl/test/test_calib3d.cpp
modules/ocl/test/test_canny.cpp
modules/ocl/test/test_moments.cpp
modules/ocl/test/test_objdetect.cpp
modules/ocl/test/test_optflow.cpp