Chromium Code Reviews| 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 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 322 default=0, | 322 default=0, |
| 323 help="Set the maximum number of locked shards"), | 323 help="Set the maximum number of locked shards"), |
| 324 optparse.make_option( | 324 optparse.make_option( |
| 325 "--nocheck-sys-deps", | 325 "--nocheck-sys-deps", |
| 326 action="store_true", | 326 action="store_true", |
| 327 default=False, | 327 default=False, |
| 328 help="Don't check the system dependencies (themes)"), | 328 help="Don't check the system dependencies (themes)"), |
| 329 optparse.make_option( | 329 optparse.make_option( |
| 330 "--order", | 330 "--order", |
| 331 action="store", | 331 action="store", |
| 332 default="natural", | 332 default="random", |
|
qyearsley
2016/12/14 17:58:21
In order to temporarily keep it as "natural" by de
jeffcarp
2016/12/14 18:07:46
Thank you so much for this!! I was worrying about
| |
| 333 help=("Determine the order in which the test cases will be run. " | 333 help=("Determine the order in which the test cases will be run. " |
| 334 "'none' == use the order in which the tests were listed " | 334 "'none' == use the order in which the tests were listed " |
| 335 "either in arguments or test list, " | 335 "either in arguments or test list, " |
| 336 "'natural' == use the natural order (default), " | 336 "'natural' == use the natural order (default), " |
|
qyearsley
2016/12/14 17:58:21
This help text should be updated.
| |
| 337 "'random' == pseudo-random order. Seed can be specified " | 337 "'random' == pseudo-random order. Seed can be specified " |
| 338 "via --seed, otherwise it will default to the current unix timestamp.")), | 338 "via --seed, otherwise it will default to the current unix timestamp.")), |
| 339 optparse.make_option( | 339 optparse.make_option( |
| 340 "--profile", | 340 "--profile", |
| 341 action="store_true", | 341 action="store_true", |
| 342 help="Output per-test profile information."), | 342 help="Output per-test profile information."), |
| 343 optparse.make_option( | 343 optparse.make_option( |
| 344 "--profiler", | 344 "--profiler", |
| 345 action="store", | 345 action="store", |
| 346 help="Output per-test profile information, using the specified p rofiler."), | 346 help="Output per-test profile information, using the specified p rofiler."), |
| (...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 586 _log.debug("\t%s", process) | 586 _log.debug("\t%s", process) |
| 587 | 587 |
| 588 return run_details | 588 return run_details |
| 589 | 589 |
| 590 finally: | 590 finally: |
| 591 printer.cleanup() | 591 printer.cleanup() |
| 592 | 592 |
| 593 if __name__ == '__main__': | 593 if __name__ == '__main__': |
| 594 exit_code = main(sys.argv[1:], sys.stdout, sys.stderr) | 594 exit_code = main(sys.argv[1:], sys.stdout, sys.stderr) |
| 595 sys.exit(exit_code) | 595 sys.exit(exit_code) |
| OLD | NEW |