| 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 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 default=True, | 257 default=True, |
| 258 help=("Check to ensure the build is up to date (default).")), | 258 help=("Check to ensure the build is up to date (default).")), |
| 259 optparse.make_option( | 259 optparse.make_option( |
| 260 "--no-build", | 260 "--no-build", |
| 261 dest="build", | 261 dest="build", |
| 262 action="store_false", | 262 action="store_false", |
| 263 help="Don't check to see if the build is up to date."), | 263 help="Don't check to see if the build is up to date."), |
| 264 optparse.make_option( | 264 optparse.make_option( |
| 265 "--child-processes", | 265 "--child-processes", |
| 266 help="Number of drivers to run in parallel."), | 266 help="Number of drivers to run in parallel."), |
| 267 # TODO(tkent): Remove --enable-wptserve. | |
| 268 optparse.make_option( | |
| 269 "--enable-wptserve", | |
| 270 dest="enable_wptserve", | |
| 271 action="store_true", | |
| 272 default=True, | |
| 273 help="Enable running web-platform-tests using WPTserve instead o
f Apache."), | |
| 274 optparse.make_option( | 267 optparse.make_option( |
| 275 "--disable-breakpad", | 268 "--disable-breakpad", |
| 276 action="store_true", | 269 action="store_true", |
| 277 help="Don't use breakpad to symbolize unexpected crashes."), | 270 help="Don't use breakpad to symbolize unexpected crashes."), |
| 278 optparse.make_option( | 271 optparse.make_option( |
| 279 "--driver-logging", | 272 "--driver-logging", |
| 280 action="store_true", | 273 action="store_true", |
| 281 help="Print detailed logging of the driver/content_shell"), | 274 help="Print detailed logging of the driver/content_shell"), |
| 282 optparse.make_option( | 275 optparse.make_option( |
| 283 "--enable-leak-detection", | 276 "--enable-leak-detection", |
| (...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 603 _log.debug("\t%s", process) | 596 _log.debug("\t%s", process) |
| 604 | 597 |
| 605 return run_details | 598 return run_details |
| 606 | 599 |
| 607 finally: | 600 finally: |
| 608 printer.cleanup() | 601 printer.cleanup() |
| 609 | 602 |
| 610 if __name__ == '__main__': | 603 if __name__ == '__main__': |
| 611 exit_code = main(sys.argv[1:], sys.stdout, sys.stderr) | 604 exit_code = main(sys.argv[1:], sys.stdout, sys.stderr) |
| 612 sys.exit(exit_code) | 605 sys.exit(exit_code) |
| OLD | NEW |