def _create_progress_indicators(self, test_count, options): procs = [PROGRESS_INDICATORS[options.progress]()] if options.json_test_results: procs.append( progress.JsonTestProgressIndicator( self.framework_name, options.json_test_results, self.build_config.arch, self.mode_options.execution_mode)) for proc in procs: proc.configure(options) for proc in procs: try: proc.set_test_count(test_count) except AttributeError: pass return procs
def _create_progress_indicators(self, test_count, options): procs = [PROGRESS_INDICATORS[options.progress]()] if options.junitout: procs.append( progress.JUnitTestProgressIndicator(options.junitout, options.junittestsuite)) if options.json_test_results: procs.append( progress.JsonTestProgressIndicator(self.framework_name)) for proc in procs: proc.configure(options) for proc in procs: try: proc.set_test_count(test_count) except AttributeError: pass return procs
def _create_progress_indicators(self, test_count, options): procs = [PROGRESS_INDICATORS[options.progress]()] if options.json_test_results: # TODO(machenbach): Deprecate the execution mode. Previously it was meant # to differentiate several records in the json output. But there is now # only one record and the mode information is redundant. procs.append( progress.JsonTestProgressIndicator( self.framework_name, self.build_config.arch, self.mode_options.execution_mode)) for proc in procs: proc.configure(options) for proc in procs: try: proc.set_test_count(test_count) except AttributeError: pass return procs