def onBuildComplete(self, builddata): print "=================================================================" print json.dumps(builddata) print "=================================================================" thread = TPSTestThread(self.extensionDir, builddata=builddata, emailresults=self.emailresults, autolog=self.autolog, testfile=self.testfile, logfile=self.logfile, rlock=self.rlock, config=self.config) thread.daemon = True thread.start()
def onBuildComplete(self, builddata): print "=================================================================" print json.dumps(builddata) print "=================================================================" try: if not (builddata['platform'] == self.platform and builddata['buildtype'] == self.buildtype): return except KeyError: return thread = TPSTestThread(self.extensionDir, builddata=builddata, emailresults=self.emailresults, autolog=self.autolog, testfile=self.testfile, logfile=self.logfile, rlock=self.rlock, config=self.config) thread.daemon = True thread.start()