Changeset 47166 in webkit
- Timestamp:
- Aug 12, 2009 5:03:52 PM (15 years ago)
- Location:
- trunk/WebKitTools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitTools/ChangeLog
r47154 r47166 1 2009-08-11 Eric Seidel <eric@webkit.org> 2 3 Reviewed by Mark Rowe. 4 5 bugzilla-tool : various improvements for running the commit-queue 6 https://bugs.webkit.org/show_bug.cgi?id=28199 7 8 Make run_and_throw_if_fail silence STDERR as well as STDIN. 9 I also changed run_and_throw_if_fail to use the /dev/null trick instead of .communicate() to avoid ever buffering the output (per abarth's suggestion). 10 Change a few "print" statements to "log" so they appear in the output. 11 Changed all string + uses to use string formatting instead (this is less error prone as it will automatically convert non-string objects). 12 Added a little more logging so that --quiet mode is easier to understand. 13 Changed clear_attachment_review_flag to clear_attachment_flags and made it clear the commit-queue flag as well. 14 Added the ability for bugzilla-tool to reject patches from the commit-queue when they fail to compile/apply/etc. 15 Added _find_select_element_for_flag to make the code for finding flag <select> elements clearer. 16 Made curl call (downloading patch files) quieter. 17 18 * Scripts/bugzilla-tool: 19 * Scripts/modules/bugzilla.py: 20 * Scripts/modules/scm.py: 21 22 <<<<<<< HEAD:WebKitTools/ChangeLog 1 23 2009-08-12 Peter Kasting <pkasting@google.com> 2 24 … … 12 34 * Scripts/svn-create-patch: 13 35 * Scripts/update-webkit: 36 ======= 37 2009-08-12 Eric Seidel <eric@webkit.org> 38 39 Reviewed by Mark Rowe. 40 41 run-webkit-tests needs a --exit-after-failures=N option 42 https://bugs.webkit.org/show_bug.cgi?id=28192 43 44 Added the option and deployed it to bugzilla-tool. 45 46 * Scripts/bugzilla-tool: 47 * Scripts/run-webkit-tests: 48 >>>>>>> 2009-08-12 Eric Seidel <eric@webkit.org>:WebKitTools/ChangeLog 14 49 15 50 2009-08-12 Kevin Ollivier <kevino@theolliviers.com> -
trunk/WebKitTools/Scripts/bugzilla-tool
r47121 r47166 276 276 if quiet: 277 277 args.append("--quiet") 278 # When landing patches we almost always want to fail as fast as possible. 279 args.append("--exit-after-n-failures=1") 278 280 cls.run_and_throw_if_fail(args) 279 281 -
trunk/WebKitTools/Scripts/run-webkit-tests
r47109 r47166 110 110 my $addPlatformExceptions = 0; 111 111 my $complexText = 0; 112 my $exitAfterNFailures = 0; 112 113 my $guardMalloc = ''; 113 114 my $httpdPort = 8000; … … 194 195 -c|--configuration config Set DumpRenderTree build configuration 195 196 -g|--guard-malloc Enable malloc guard 197 --exit-after-n-failures N Exit after the first N failures instead of running all tests 196 198 --help Show this help message 197 199 --[no-]http Run (or do not run) http tests (default: $httpDefault) … … 231 233 my $getOptionsResult = GetOptions( 232 234 'complex-text' => \$complexText, 235 'exit-after-n-failures=i' => \$exitAfterNFailures, 233 236 'guard-malloc|g' => \$guardMalloc, 234 237 'help' => \$showHelp, … … 992 995 993 996 countFinishedTest($test, $base, $result, $isText); 997 998 my $failureCount = $count - $counts{match}; # Includes new tests, timeouts, crashes, etc. 999 if ($exitAfterNFailures && $failureCount >= $exitAfterNFailures) { 1000 print "\nExiting early after $failureCount failures. $count tests run."; 1001 closeDumpTool(); 1002 last; 1003 } 994 1004 } 995 1005 printf "\n%0.2fs total testing time\n", (time - $overallStartTime) . "";
Note: See TracChangeset
for help on using the changeset viewer.