OLD | NEW |
---|---|
1 # Copyright (C) 2010 Google Inc. All rights reserved. | 1 # Copyright (C) 2010 Google Inc. All rights reserved. |
2 # Copyright (C) 2010 Gabor Rapcsanyi (rgabor@inf.u-szeged.hu), University of Sze ged | 2 # Copyright (C) 2010 Gabor Rapcsanyi (rgabor@inf.u-szeged.hu), University of Sze ged |
3 # Copyright (C) 2011 Apple Inc. All rights reserved. | 3 # Copyright (C) 2011 Apple Inc. All rights reserved. |
4 # | 4 # |
5 # Redistribution and use in source and binary forms, with or without | 5 # Redistribution and use in source and binary forms, with or without |
6 # modification, are permitted provided that the following conditions are | 6 # modification, are permitted provided that the following conditions are |
7 # met: | 7 # met: |
8 # | 8 # |
9 # * Redistributions of source code must retain the above copyright | 9 # * Redistributions of source code must retain the above copyright |
10 # notice, this list of conditions and the following disclaimer. | 10 # notice, this list of conditions and the following disclaimer. |
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
358 | 358 |
359 try: | 359 try: |
360 printer = printing.Printer(port, options, logging_stream, logger=logger) | 360 printer = printing.Printer(port, options, logging_stream, logger=logger) |
361 | 361 |
362 _set_up_derived_options(port, options, args) | 362 _set_up_derived_options(port, options, args) |
363 manager = Manager(port, options, printer) | 363 manager = Manager(port, options, printer) |
364 printer.print_config(port.results_directory()) | 364 printer.print_config(port.results_directory()) |
365 | 365 |
366 run_details = manager.run(args) | 366 run_details = manager.run(args) |
367 _log.debug("Testing completed, Exit status: %d" % run_details.exit_code) | 367 _log.debug("Testing completed, Exit status: %d" % run_details.exit_code) |
368 # Print the location of results.html in case of interrupted run. | |
369 if run_details.initial_results and run_details.initial_results.keyboard_ interrupted and run_details.results: | |
370 printer.writeln('run-webkit-tests iteration result stored at file:// ' + run_details.results) | |
Dirk Pranke
2013/10/21 18:38:48
I would probably change the output to something li
| |
368 return run_details | 371 return run_details |
369 finally: | 372 finally: |
370 printer.cleanup() | 373 printer.cleanup() |
371 | 374 |
372 if __name__ == '__main__': | 375 if __name__ == '__main__': |
373 sys.exit(main(sys.argv[1:], sys.stdout, sys.stderr)) | 376 sys.exit(main(sys.argv[1:], sys.stdout, sys.stderr)) |
OLD | NEW |