Changeset 95363 in webkit
- Timestamp:
- Sep 16, 2011 9:15:13 PM (13 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r95330 r95363 1 2011-09-16 Tom Zakrajsek <tomz@codeaurora.org> 2 3 update-webkit-chromium should retry the gclient call if it fails once 4 https://bugs.webkit.org/show_bug.cgi?id=68252 5 6 Reviewed by Adam Barth. 7 8 * Scripts/update-webkit-chromium: 9 1 10 2011-09-16 Rob Buis <rbuis@rim.com> 2 11 -
trunk/Tools/Scripts/update-webkit-chromium
r93939 r95363 78 78 push @gclientArgs, "--delete_unversioned_trees" if $force; 79 79 push @gclientArgs, "--deps=unix,android" if isChromiumAndroid(); 80 system(@gclientArgs) == 0 or die $!; 80 81 my $cmd = join(" ",@gclientArgs); 82 my $max_attempts = 3; 83 my $rc = -1; 84 85 # The following will call glient up to $max_attempts times before 86 # it gives up and fails. We need this because glcient can fail 87 # for several reasons, some of which are transient (flakiness). 88 89 for (1 .. $max_attempts) { 90 $rc = system($cmd); 91 print "Re-trying '" . $cmd . "'\n" if $rc != 0; 92 last if $rc == 0; 93 } 94 95 die "Error: '$cmd' failed $max_attempts tries and returned " . $rc if ($rc);
Note: See TracChangeset
for help on using the changeset viewer.