summaryrefslogtreecommitdiffstats
path: root/Tools/Scripts/bisect-builds
diff options
context:
space:
mode:
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) = @_;