mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-01 03:52:25 +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.command = "%s " % (self.application)
|
||||||
self._starting_time = time.time()
|
self._starting_time = time.time()
|
||||||
self.build_arguments()
|
self.build_arguments()
|
||||||
printc("Launching: %s %s -> '%s' -- logs are in %s"
|
printc("Launching: %s%s\n"
|
||||||
% (Colors.ENDC, self.classname, self.command,
|
" logs are in %s\n"
|
||||||
self.reporter.out.name), Colors.OKBLUE)
|
" Command: '%s'\n"
|
||||||
|
% (Colors.ENDC, self.classname,
|
||||||
|
self.logfile, self.command), Colors.OKBLUE)
|
||||||
try:
|
try:
|
||||||
self.process = subprocess.Popen(self.command,
|
self.process = subprocess.Popen(self.command,
|
||||||
stderr=self.reporter.out,
|
stderr=self.reporter.out,
|
||||||
|
@ -220,7 +222,8 @@ class GstValidateTest(Test):
|
||||||
self.result = Result.PASSED
|
self.result = Result.PASSED
|
||||||
else:
|
else:
|
||||||
if self.process.returncode == 139:
|
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,
|
self.set_result(Result.FAILED,
|
||||||
"Application segfaulted",
|
"Application segfaulted",
|
||||||
"segfault")
|
"segfault")
|
||||||
|
|
Loading…
Reference in a new issue