Fix segmentation fault in unit tests on wayland
This commit is contained in:
parent
518421a127
commit
a7e61c9362
1 changed files with 3 additions and 0 deletions
|
|
@ -113,6 +113,9 @@ class TestProperties(MpvTestCase):
|
||||||
# These may cause files to be created
|
# These may cause files to be created
|
||||||
if name in ('external-file', 'heartbeat-cmd', 'wid', 'dump-stats', 'log-file') or name.startswith('input-'):
|
if name in ('external-file', 'heartbeat-cmd', 'wid', 'dump-stats', 'log-file') or name.startswith('input-'):
|
||||||
continue
|
continue
|
||||||
|
# Caues segmentation faults on wayland
|
||||||
|
if name in ('current-window-scale',):
|
||||||
|
continue
|
||||||
name = name.replace('-', '_')
|
name = name.replace('-', '_')
|
||||||
old_canaries = check_canaries()
|
old_canaries = check_canaries()
|
||||||
with self.subTest(property_name=name), self.swallow_mpv_errors([
|
with self.subTest(property_name=name), self.swallow_mpv_errors([
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue