Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(363)

Side by Side Diff: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py

Issue 2454323004: Make layout test harness extensible with custom layout tests directory (Closed)
Patch Set: Undo non test harness changes Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 help=("Control whether tests that are flaky on the bots get igno red. " 308 help=("Control whether tests that are flaky on the bots get igno red. "
309 "'very-flaky' == Ignore any tests that flaked more than on ce on the bot. " 309 "'very-flaky' == Ignore any tests that flaked more than on ce on the bot. "
310 "'maybe-flaky' == Ignore any tests that flaked once on the bot. " 310 "'maybe-flaky' == Ignore any tests that flaked once on the bot. "
311 "'unexpected' == Ignore any tests that had unexpected resu lts on the bot.")), 311 "'unexpected' == Ignore any tests that had unexpected resu lts on the bot.")),
312 optparse.make_option( 312 optparse.make_option(
313 "--iterations", 313 "--iterations",
314 type="int", 314 type="int",
315 default=1, 315 default=1,
316 help="Number of times to run the set of tests (e.g. ABCABCABC)") , 316 help="Number of times to run the set of tests (e.g. ABCABCABC)") ,
317 optparse.make_option( 317 optparse.make_option(
318 "--layout-tests-directory",
319 help=("Path to a custom layout tests directory")),
320 optparse.make_option(
318 "--max-locked-shards", 321 "--max-locked-shards",
319 type="int", 322 type="int",
320 default=0, 323 default=0,
321 help="Set the maximum number of locked shards"), 324 help="Set the maximum number of locked shards"),
322 optparse.make_option( 325 optparse.make_option(
323 "--nocheck-sys-deps", 326 "--nocheck-sys-deps",
324 action="store_true", 327 action="store_true",
325 default=False, 328 default=False,
326 help="Don't check the system dependencies (themes)"), 329 help="Don't check the system dependencies (themes)"),
327 optparse.make_option( 330 optparse.make_option(
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
584 _log.debug("\t%s", process) 587 _log.debug("\t%s", process)
585 588
586 return run_details 589 return run_details
587 590
588 finally: 591 finally:
589 printer.cleanup() 592 printer.cleanup()
590 593
591 if __name__ == '__main__': 594 if __name__ == '__main__':
592 exit_code = main(sys.argv[1:], sys.stdout, sys.stderr) 595 exit_code = main(sys.argv[1:], sys.stdout, sys.stderr)
593 sys.exit(exit_code) 596 sys.exit(exit_code)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698