mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-05-31 22:58:17 +00:00
validate:launcher: Using surrogateescape error handler
Use surrogateescape error handler to convert undecodable bytes without error. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5008>
This commit is contained in:
parent
6992e14eee
commit
6b0f7729e1
|
@ -1147,7 +1147,7 @@ class GstValidateTest(Test):
|
|||
msg = ""
|
||||
result = Result.PASSED
|
||||
if self.result == Result.TIMEOUT:
|
||||
with open(self.logfile) as f:
|
||||
with open(self.logfile, errors="surrogateescape") as f:
|
||||
signal_fault_info = self.fault_sig_regex.findall(f.read())
|
||||
if signal_fault_info:
|
||||
result = Result.FAILED
|
||||
|
|
Loading…
Reference in a new issue