コード例 #1
0
    def _on_STARTRUN(self, test_run_id, uuid):
        self._cur_handler = None

        testdef_obj = get_testdef_obj_with_uuid(self.testdef_objs, uuid)
        if testdef_obj:
            self._cur_handler = testdef_obj.handler
        if self._cur_handler:
            self._cur_handler.start()
コード例 #2
0
ファイル: __init__.py プロジェクト: Bruce-Zou/lava-dispatcher
    def _on_STARTRUN(self, test_run_id, uuid):
        self._cur_handler = None

        testdef_obj = get_testdef_obj_with_uuid(self.testdef_objs, uuid)
        if testdef_obj:
            self._cur_handler = testdef_obj.handler
        if self._cur_handler:
            self._cur_handler.start()
コード例 #3
0
 def postprocess_bundle(self, bundle):
     for test_run in bundle['test_runs']:
         uuid = test_run['analyzer_assigned_uuid']
         testdef_obj = get_testdef_obj_with_uuid(self.testdef_objs, uuid)
         if testdef_obj.handler:
             try:
                 testdef_obj.handler.postprocess_test_run(test_run)
             except KeyboardInterrupt:
                 raise KeyboardInterrupt
             except:
                 logging.exception(
                     "postprocessing test run with uuid %s failed", uuid)
コード例 #4
0
ファイル: __init__.py プロジェクト: Bruce-Zou/lava-dispatcher
 def postprocess_bundle(self, bundle):
     for test_run in bundle['test_runs']:
         uuid = test_run['analyzer_assigned_uuid']
         testdef_obj = get_testdef_obj_with_uuid(self.testdef_objs, uuid)
         if testdef_obj.handler:
             try:
                 testdef_obj.handler.postprocess_test_run(test_run)
             except KeyboardInterrupt:
                 raise KeyboardInterrupt
             except:
                 logging.exception(
                     "postprocessing test run with uuid %s failed", uuid)