mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-08 14:48:05 +02:00
tests: Fix screenshot assert
We need to check the each screenshot once, not one twice. Signed-off-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
parent
c00997979c
commit
4843199479
1 changed files with 1 additions and 1 deletions
|
|
@ -160,7 +160,7 @@ TEST(drm_writeback_screenshot) {
|
|||
second_screenshot = client_capture_output(client, client->output,
|
||||
WESTON_CAPTURE_V1_SOURCE_WRITEBACK,
|
||||
args->buffer_type);
|
||||
test_assert_ptr_not_null(screenshot);
|
||||
test_assert_ptr_not_null(second_screenshot);
|
||||
|
||||
/* load reference image */
|
||||
fname = screenshot_reference_filename("drm-writeback-screenshot", 0);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue