validate:tools: Remove reference to get_backtrace which is not implemented

+ Enhance Message about launched apps
This commit is contained in:
Thibault Saunier 2014-01-10 16:56:44 +01:00
parent 26e3a9e3c5
commit a6f3d5270c

View file

@ -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")