tests: implement visualize_image_difference()
authorPekka Paalanen <pekka.paalanen@collabora.co.uk>
Thu, 2 Jun 2016 15:02:46 +0000 (18:02 +0300)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Wed, 29 Jun 2016 09:41:31 +0000 (12:41 +0300)
commita5bb91dcdc2b291a55f57182d6e20bdef9c338a2
treec8dc7cdc4680148112ae19af36b67e8aa235a36d
parent365c1296fa8285c6eff09df7888b4cb2e1a4ebb8
tests: implement visualize_image_difference()

Useful for pointing out where the image comparisons fail.

Internal-screenshot-test is modified to save the visualization if the
test fails.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Daniel Stone <daniels@collabora.com>
tests/internal-screenshot-test.c
tests/weston-test-client-helper.c
tests/weston-test-client-helper.h