Lines Matching refs:results
60 help="File where results will be stored. The file will be overwritten. Default: %default.")
63 help="Browser in which results will be opened. Default %default.")
64 opt.add_option("", "--do-not-open-results", action="store_false",
66 help="The results shouldn't pop-up in a browser automatically")
69 help="Special mode for debugging. In general it simulates human behavior, running all autotests. In the mode everything is executed synchronously, no html output will be generated, no changes or transformation will be applied to stderr or stdout. In this mode options; parallel-level, output-file, browser and do-not-open-results will be ignored.")
212 """ Find && execute && publish results of all test. "All in one" function. """
217 results = self.run_tests(tests_executables)
220 transformed_results = self.transform(results)
244 results = workers.map(run_test, package) # Collects results.
245 return results
247 def transform(self, results):
248 """ Transforms list of the results to specialized versions. """
249 stdout = self.convert_to_stdout(results)
250 html = self.convert_to_html(results)
253 def announce_results(self, results):
254 """ Shows the results. """
255 self.announce_results_stdout(results['stdout'])
256 self.announce_results_html(results['html'])
258 def announce_results_stdout(self, results):
259 """ Show the results by printing to the stdout."""
260 print(results)
262 def announce_results_html(self, results):
265 f.write(results)
269 def convert_to_stdout(self, results):
270 """ Converts results, that they could be nicely presented in the stdout. """
271 # Join all results into one piece.
272 txt = "\n\n".join(map(lambda w: w.output(), results))
284 def convert_to_html(self, results):
285 """ Converts results, that they could showed as a html page. """
286 # Join results into one piece.
287 txt = "\n\n".join(map(lambda w: w.output(), results))
372 <h1>Qt's autotests results</h1>%(totals)s<br>
381 %(results)s
383 </html>""" % {"totals": totals, "results": txt}