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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 "--batch-size", | 253 "--batch-size", |
254 type="int", | 254 type="int", |
255 default=None, | 255 default=None, |
256 help=("Run a the tests in batches (n), after every n tests, the
driver is " | 256 help=("Run a the tests in batches (n), after every n tests, the
driver is " |
257 "relaunched.")), | 257 "relaunched.")), |
258 optparse.make_option( | 258 optparse.make_option( |
259 "--build", | 259 "--build", |
260 dest="build", | 260 dest="build", |
261 action="store_true", | 261 action="store_true", |
262 default=True, | 262 default=True, |
263 help=("Check to ensure the build is up-to-date (default).")), | 263 help=("Check to ensure the build is up to date (default).")), |
264 optparse.make_option( | 264 optparse.make_option( |
265 "--no-build", | 265 "--no-build", |
266 dest="build", | 266 dest="build", |
267 action="store_false", | 267 action="store_false", |
268 help="Don't check to see if the build is up-to-date."), | 268 help="Don't check to see if the build is up to date."), |
269 optparse.make_option( | 269 optparse.make_option( |
270 "--child-processes", | 270 "--child-processes", |
271 help="Number of drivers to run in parallel."), | 271 help="Number of drivers to run in parallel."), |
272 optparse.make_option( | 272 optparse.make_option( |
273 "--enable-wptserve", | 273 "--enable-wptserve", |
274 dest="enable_wptserve", | 274 dest="enable_wptserve", |
275 action="store_true", | 275 action="store_true", |
276 default=False, | 276 default=False, |
277 help="Enable running web-platform-tests using WPTserve instead o
f Apache."), | 277 help="Enable running web-platform-tests using WPTserve instead o
f Apache."), |
278 optparse.make_option( | 278 optparse.make_option( |
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
576 _log.debug("\t%s" % process) | 576 _log.debug("\t%s" % process) |
577 | 577 |
578 return run_details | 578 return run_details |
579 | 579 |
580 finally: | 580 finally: |
581 printer.cleanup() | 581 printer.cleanup() |
582 | 582 |
583 if __name__ == '__main__': | 583 if __name__ == '__main__': |
584 exit_code = main(sys.argv[1:], sys.stdout, sys.stderr) | 584 exit_code = main(sys.argv[1:], sys.stdout, sys.stderr) |
585 sys.exit(exit_code) | 585 sys.exit(exit_code) |
OLD | NEW |