summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjaseg <code@jaseg.net>2020-07-15 21:21:40 +0200
committerjaseg <code@jaseg.net>2020-07-15 22:03:37 +0200
commitb54d5f55210b720266704dc4437c3598cc58680f (patch)
treeefbbd081fb2720d18f35c7b20a06f67fd8790d43
parente6abadec7e00505eea9a91578f2d63939ce9a56c (diff)
downloadpython-mpv-b54d5f55210b720266704dc4437c3598cc58680f.tar.gz
python-mpv-b54d5f55210b720266704dc4437c3598cc58680f.tar.bz2
python-mpv-b54d5f55210b720266704dc4437c3598cc58680f.zip
tests: Fix test_write for segaults in libmpv (#108)
-rwxr-xr-xmpv-test.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/mpv-test.py b/mpv-test.py
index 031b806..5123dc3 100755
--- a/mpv-test.py
+++ b/mpv-test.py
@@ -106,6 +106,10 @@ class TestProperties(MpvTestCase):
time.sleep(0.05)
check_canaries = lambda: os.path.exists('100') or os.path.exists('foo')
for name in sorted(self.m.property_list):
+ # See issue #108 and upstream mpv issues #7919 and #7920.
+ if name in ('demuxer', 'audio-demuxer', 'audio-files'):
+ continue
+ # These may cause files to be created
if name in ('external-file', 'heartbeat-cmd', 'wid', 'dump-stats', 'log-file') or name.startswith('input-'):
continue
name = name.replace('-', '_')