How many tests are supposed to be passed? [closed]

asked 2015-06-15 23:19:14 -0600

statcom gravatar image

updated 2015-06-18 16:19:12 -0600

Downloaded and compiled OpenCV 3.0 gold with VS2013 without any problem. The new build created all necessary dlls and also _perf_.exe and _test_.exe files for testing. Regarding this, I have a couple of questions.

  1. How can I run all perf_.exe and test_.exe? I couldn't find any way to do this so I simply made a batch file to run every test files and put their results into a text file. I wonder if this is a right way.

  2. Looking at test results from _test_.exe files, most of tests passed but there are some (sometimes hundreds) tests failed. Is this normal? Considering these tests are unit tests, I think they should all pass. Does this mean my build has a problem?

UPDATE: As berak recommended, I've downloaded necessary files and set the system variable OPENCV_TEST_DATA_PATH, but still get many errors like following in opencv_test_core.exe. So question #2 still stands.

[ RUN ] OCL_Arithm/Pow.Mat/0 unknown file: error: SEH exception with code 0xc0000005 thrown in the test body.

[ FAILED ] OCL_Arithm/Pow.Mat/0, where GetParam() = (CV_32F, Channels(1), fals e) (131 ms)

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by sturkmen
close date 2020-12-08 07:44:53.977193

Comments

2

2: you will need to install testdata from https://github.com/itseez/opencv_extra to make them all pass. (that's a lot of bytes, so it is not included with the main opencv repo)

see step 9 here

berak gravatar imageberak ( 2015-06-16 01:22:30 -0600 )edit

@berak Thanks for your comment. But your recommendation didn't resolve my problem as details are in my updated question above. Any idea what might be wrong? Thanks

statcom gravatar imagestatcom ( 2015-06-18 16:22:23 -0600 )edit

hmm, probably can't help from here on (e.g. no OCL here)

if you find something scary in the logs, propagate it to the issues page

berak gravatar imageberak ( 2015-06-18 23:37:43 -0600 )edit