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 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 optparse.make_option("--profiler", action="store", | 260 optparse.make_option("--profiler", action="store", |
261 help="Output per-test profile information, using the specified profi
ler."), | 261 help="Output per-test profile information, using the specified profi
ler."), |
262 optparse.make_option("--driver-logging", action="store_true", | 262 optparse.make_option("--driver-logging", action="store_true", |
263 help="Print detailed logging of the driver/content_shell"), | 263 help="Print detailed logging of the driver/content_shell"), |
264 optparse.make_option("--disable-breakpad", action="store_true", | 264 optparse.make_option("--disable-breakpad", action="store_true", |
265 help="Don't use breakpad to symbolize unexpected crashes."), | 265 help="Don't use breakpad to symbolize unexpected crashes."), |
266 optparse.make_option("--enable-leak-detection", action="store_true", | 266 optparse.make_option("--enable-leak-detection", action="store_true", |
267 help="Enable the leak detection of DOM objects."), | 267 help="Enable the leak detection of DOM objects."), |
268 optparse.make_option("--enable-sanitizer", action="store_true", | 268 optparse.make_option("--enable-sanitizer", action="store_true", |
269 help="Only alert on sanitizer-related errors and crashes"), | 269 help="Only alert on sanitizer-related errors and crashes"), |
| 270 optparse.make_option("--path-to-server", action="store", |
| 271 help="Path to a locally build sky_server executable."), |
270 ])) | 272 ])) |
271 | 273 |
272 option_group_definitions.append(("Miscellaneous Options", [ | 274 option_group_definitions.append(("Miscellaneous Options", [ |
273 optparse.make_option("--lint-test-files", action="store_true", | 275 optparse.make_option("--lint-test-files", action="store_true", |
274 default=False, help=("Makes sure the test files parse for all " | 276 default=False, help=("Makes sure the test files parse for all " |
275 "configurations. Does not run any tests.")), | 277 "configurations. Does not run any tests.")), |
276 ])) | 278 ])) |
277 | 279 |
278 # FIXME: Move these into json_results_generator.py | 280 # FIXME: Move these into json_results_generator.py |
279 option_group_definitions.append(("Result JSON Options", [ | 281 option_group_definitions.append(("Result JSON Options", [ |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
379 printer.print_config(port.results_directory()) | 381 printer.print_config(port.results_directory()) |
380 | 382 |
381 run_details = manager.run(args) | 383 run_details = manager.run(args) |
382 _log.debug("Testing completed, Exit status: %d" % run_details.exit_code) | 384 _log.debug("Testing completed, Exit status: %d" % run_details.exit_code) |
383 return run_details | 385 return run_details |
384 finally: | 386 finally: |
385 printer.cleanup() | 387 printer.cleanup() |
386 | 388 |
387 if __name__ == '__main__': | 389 if __name__ == '__main__': |
388 sys.exit(main(sys.argv[1:], sys.stdout, sys.stderr)) | 390 sys.exit(main(sys.argv[1:], sys.stdout, sys.stderr)) |
OLD | NEW |