Files
weston/tests
Pekka Paalanen ed6df8ed1c tests: allow client_destroy() after expect_protocol_error()
expect_protocol_error() ensures that the connection has failed in the
expected way. To satisfy ASan leak detection, we still need to tear down
everything, including call client_destroy().

client_destroy() needs to check that tear-down does not cause protocol
errors, so it does one last roundtrip that checks that is succeeds. But
if the connection is already down in an expected way, this roundtrip
cannot succeed and must be skipped.

Also moves the roundtrip under 'if (wl_display)', assuming the 'if' is
there for a reason - but obviously that reason was never used as it
would have crashed.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
2021-05-31 12:35:01 +03:00
..
2021-02-25 12:54:17 +02:00
2020-01-30 10:10:35 +00:00
2020-01-30 10:10:35 +00:00
2020-01-30 10:10:35 +00:00
2020-01-30 10:10:35 +00:00
2020-01-30 10:10:35 +00:00
2017-01-23 14:12:06 +02:00
2020-01-30 10:10:35 +00:00
2020-01-30 10:10:35 +00:00
2020-01-30 10:10:35 +00:00
2020-01-30 10:10:35 +00:00