Skip to content

G-API: fix test checks due MatExpr::type() bug#16657

Merged
opencv-pushbot merged 1 commit intoopencv:masterfrom
alalek:issue_16655_master
Feb 26, 2020
Merged

G-API: fix test checks due MatExpr::type() bug#16657
opencv-pushbot merged 1 commit intoopencv:masterfrom
alalek:issue_16655_master

Conversation

@alalek
Copy link
Copy Markdown
Member

@alalek alalek commented Feb 23, 2020

Misused countNonZero() (banned for future use)

Review the latest commit only.

opencv_test_gapi: 646 FAILED TESTS
opencv_perf_gapi: 96 FAILED TESTS

Message example:

[ RUN      ] GCompoundKernel.MergeWithSplit
unknown file: Failure
C++ exception with description "OpenCV(4.2.0-dev) /build/precommit_opencl_linux/opencv/modules/core/src/count_non_zero.dispatch.cpp:124: error: (-215:Assertion failed) cn == 1 in function 'countNonZero'
" thrown in the test body.
[  FAILED  ] GCompoundKernel.MergeWithSplit (0 ms)

relates #16656

@dmatveev
Copy link
Copy Markdown
Contributor

dmatveev commented Mar 3, 2020

@alalek this is superb! thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants