mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 19:42:26 +00:00
validate:tools: Remove reference to get_backtrace which is not implemented
+ Enhance Message about launched apps
This commit is contained in:
parent
26e3a9e3c5
commit
a6f3d5270c
1 changed files with 7 additions and 4 deletions
|
@ -149,9 +149,11 @@ class Test(Loggable):
|
|||
self.command = "%s " % (self.application)
|
||||
self._starting_time = time.time()
|
||||
self.build_arguments()
|
||||
printc("Launching: %s %s -> '%s' -- logs are in %s"
|
||||
% (Colors.ENDC, self.classname, self.command,
|
||||
self.reporter.out.name), Colors.OKBLUE)
|
||||
printc("Launching: %s%s\n"
|
||||
" logs are in %s\n"
|
||||
" Command: '%s'\n"
|
||||
% (Colors.ENDC, self.classname,
|
||||
self.logfile, self.command), Colors.OKBLUE)
|
||||
try:
|
||||
self.process = subprocess.Popen(self.command,
|
||||
stderr=self.reporter.out,
|
||||
|
@ -220,7 +222,8 @@ class GstValidateTest(Test):
|
|||
self.result = Result.PASSED
|
||||
else:
|
||||
if self.process.returncode == 139:
|
||||
self.get_backtrace("SEGFAULT")
|
||||
# FIXME Reimplement something like that if needed
|
||||
# self.get_backtrace("SEGFAULT")
|
||||
self.set_result(Result.FAILED,
|
||||
"Application segfaulted",
|
||||
"segfault")
|
||||
|
|
Loading…
Reference in a new issue