summaryrefslogtreecommitdiffstats
path: root/Tools/Scripts/bisect-builds
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2011-05-24 11:24:40 +0100
committerBen Murdoch <benm@google.com>2011-06-02 09:53:15 +0100
commit81bc750723a18f21cd17d1b173cd2a4dda9cea6e (patch)
tree7a9e5ed86ff429fd347a25153107221543909b19 /Tools/Scripts/bisect-builds
parent94088a6d336c1dd80a1e734af51e96abcbb689a7 (diff)
downloadexternal_webkit-81bc750723a18f21cd17d1b173cd2a4dda9cea6e.zip
external_webkit-81bc750723a18f21cd17d1b173cd2a4dda9cea6e.tar.gz
external_webkit-81bc750723a18f21cd17d1b173cd2a4dda9cea6e.tar.bz2
Merge WebKit at r80534: Intial merge by Git
Change-Id: Ia7a83357124c9e1cdb1debf55d9661ec0bd09a61
Diffstat (limited to 'Tools/Scripts/bisect-builds')
-rwxr-xr-xTools/Scripts/bisect-builds11
1 files changed, 10 insertions, 1 deletions
diff --git a/Tools/Scripts/bisect-builds b/Tools/Scripts/bisect-builds
index 063b61e..cd34899 100755
--- a/Tools/Scripts/bisect-builds
+++ b/Tools/Scripts/bisect-builds
@@ -1,6 +1,6 @@
#!/usr/bin/perl -w
-# Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
+# Copyright (C) 2007, 2008, 2011 Apple Inc. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
@@ -57,6 +57,7 @@ sub max($$) { return $_[0] > $_[1] ? $_[0] : $_[1]; }
sub mountAndRunNightly($$$$);
sub parseRevisions($$;$);
sub printStatus($$$);
+sub printTracLink($$);
sub promptForTest($);
loadSettings();
@@ -197,6 +198,8 @@ while (abs($endIndex - $startIndex) > 1) {
printStatus($nightlies[$startIndex]->{rev}, $nightlies[$endIndex]->{rev}, $isProgression);
}
+printTracLink($nightlies[$startIndex]->{rev}, $nightlies[$endIndex]->{rev});
+
unlink $tempFile if $tempFile;
exit 0;
@@ -420,6 +423,12 @@ sub printStatus($$$)
$isProgression ? "Works" : "Fails", $endRevision;
}
+sub printTracLink($$)
+{
+ my ($startRevision, $endRevision) = @_;
+ printf("http://trac.webkit.org/log/trunk/?rev=%s&stop_rev=%s\n", $endRevision, $startRevision + 1);
+}
+
sub promptForTest($)
{
my ($revision) = @_;