f8e3fd0 (Martin Günther, 2 years, 3 months ago)
test-pyramids: disable debug_view if gui=false
adding_images_2 had the debug view always enabled, so it failed in docker.
24c6ab8 (Martin Günther, 2 years, 3 months ago)
test-pyramids: Check all topics
This test now correctly identifies the errors and fails (which is what we
want):
$ rostest opencv_apps test-pyramids.test gui:=false OpenCV Error: Sizes of
input arguments do not match (The operation is neither 'array op array'
(where arrays have the same size and the same number of channels), nor
'array op scalar', nor 'scalar op array') in arithm_op, file
/build/opencv-L2vuMj/opencv-3.2.0+dfsg/modules/core/src/arithm.cpp, line
659
[ERROR] [1574173610.416466509]: Image processing error: The operation is
neither 'array op array' (where arrays have the same size and the same
number of channels), nor 'array op scalar', nor 'scalar op array' arithm_op
/build/opencv-L2vuMj/opencv-3.2.0+dfsg/modules/core/src/arithm.cpp 659
(/wide_stereo/left/adding_images_0)
cherry-picked https://github.com/ros-perception/opencv_apps/pull/101/commits/cc70d81e77afd3ce61f2da5bbd03360b4947ab9b, https://github.com/ros-perception/opencv_apps/pull/101/commits/7a728890dcfed252358e877f42c158502354a219 (#101)
Closes #99
f8e3fd0 (Martin Günther, 2 years, 3 months ago) test-pyramids: disable debug_view if gui=false
adding_images_2 had the debug view always enabled, so it failed in docker.
24c6ab8 (Martin Günther, 2 years, 3 months ago) test-pyramids: Check all topics
This test now correctly identifies the errors and fails (which is what we want):