-
-
Notifications
You must be signed in to change notification settings - Fork 56.4k
Closed
Milestone
Description
System Information
OpenCV commit we used: a4486c0
OS: Windows server 2022
Compiler: msvc latest
Detailed description
OpenCV failed to run test, and failed tests as below:
[ FAILED ] 5 tests, listed below:
[ FAILED ] Imgproc_EMD.regression
[ FAILED ] Imgproc_EMD.distance_types
[ FAILED ] Imgproc_EMD_dist.random_flow_verify/0, where GetParam() = 1
[ FAILED ] Imgproc_EMD_dist.random_flow_verify/1, where GetParam() = 2
[ FAILED ] Imgproc_EMD_dist.random_flow_verify/2, where GetParam() = 3
Note:
This issue only occurred on x86 mode, amd64 is ok. And I found that this issue occurred from commit 7e56908, the previous commit 5b08437 is ok.
Steps to reproduce
- git -C "C:\gitP" clone --no-checkout https://github.com/opencv/opencv opencv\opencv
- git -C "C:\gitP\opencv\opencv" checkout a4486c0
- git -C "C:\gitP\opencv\opencv" submodule sync
- git -C "C:\gitP\opencv\opencv" submodule foreach git clean -xdf
- git -C "C:\gitP\opencv\opencv" submodule update --init --recursive
- git -C "C:\gitP" clone --no-checkout https://github.com/opencv/opencv_extra opencv\opencv_extra
- git -C "C:\gitP\opencv\opencv_extra" checkout 1458fff
- mkdir C:\gitP\opencv\opencv\build_x86 & cd /d C:\gitP\opencv\opencv\build_x86
- cmake -G "Visual Studio 17 2022" -A Win32 -DCMAKE_SYSTEM_VERSION=10.0.22621.0 -DWITH_IPP=ON -DBUILD_SHARED_LIBS=OFF -DBUILD_PERF_TESTS=ON -DBUILD_TESTS=ON -DBUILD_EXAMPLES=ON -DWITH_OPENCL=OFF -DBUILD_DOCS=OFF -DWITH_CUDA=OFF -DWITH_EIGEN=OFF ..
- msbuild /m /p:Platform=Win32 /p:Configuration=Release OpenCV.sln /t:Rebuild /p:BuildInParallel=true
- set OPENCV_TEST_DATA_PATH=C:\gitP\opencv\opencv_extra\testdata
- cd /d C:\gitP\opencv\opencv\build_x86\bin\Release
- opencv_test_imgproc.exe --gtest_filter=-HoughCirclesTest.DefaultMaxRadius:HoughCirclesTest.CentersOnly:HoughCirclesTest.ManySmallCircles:ImgProc/HoughCirclesTestFixture.regression/0:Imgproc_GrabCut.regression
Issue submission checklist
- I report the issue, it's not a question
- I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
- I updated to the latest OpenCV version and the issue is still there
- There is reproducer code and related data files (videos, images, onnx, etc)