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