mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-01 21:18:52 +00:00
validate:launcher: Remove now useless validatelog
We are now doing IPC to communicate with the launcher so let it simply go to stdout.
This commit is contained in:
parent
e132c11a95
commit
aec8693258
1 changed files with 0 additions and 13 deletions
|
@ -570,7 +570,6 @@ class GstValidateTest(Test):
|
|||
# segment / seek
|
||||
self._sent_eos_time = None
|
||||
|
||||
self.validatelogs = None
|
||||
if scenario is None or scenario.name.lower() == "none":
|
||||
self.scenario = None
|
||||
else:
|
||||
|
@ -660,18 +659,9 @@ class GstValidateTest(Test):
|
|||
return self.position
|
||||
|
||||
def get_subproc_env(self):
|
||||
self.validatelogs = self.logfile + '.validate.logs'
|
||||
logfiles = self.validatelogs
|
||||
if self.options.redirect_logs:
|
||||
logfiles += os.pathsep + \
|
||||
self.options.redirect_logs.replace("<", '').replace(">", '')
|
||||
|
||||
subproc_env = os.environ.copy()
|
||||
|
||||
utils.touch(self.validatelogs)
|
||||
subproc_env["GST_VALIDATE_FILE"] = logfiles
|
||||
subproc_env["GST_VALIDATE_SERVER"] = "tcp://localhost:%s" % self.serverport
|
||||
self.extra_logfiles.append(self.validatelogs)
|
||||
|
||||
if 'GST_DEBUG' in os.environ and not self.options.redirect_logs:
|
||||
gstlogsfile = self.logfile + '.gstdebug'
|
||||
|
@ -727,9 +717,6 @@ class GstValidateTest(Test):
|
|||
def get_extra_log_content(self, extralog):
|
||||
value = Test.get_extra_log_content(self, extralog)
|
||||
|
||||
if extralog == self.validatelogs:
|
||||
value = re.sub("<position:.*/>\r", "", value)
|
||||
|
||||
return value
|
||||
|
||||
def report_matches_expected_failure(self, report, expected_failure):
|
||||
|
|
Loading…
Reference in a new issue