RESOLVED FIXED 138193
bisect-builds should filter out nightlies that predate the introduction of an OS X operating system
https://bugs.webkit.org/show_bug.cgi?id=138193
Summary bisect-builds should filter out nightlies that predate the introduction of an...
Matthew Hanson
Reported 2014-10-29 15:53:19 PDT
bisect-builds should only attempt to bisect the subset of nightlies that ships a framework for the version of OS X that bisect-builds is running on. For Yosemite, this corresponds to nightlies created at or after r174650. For Mavericks, this corresponds to nightlies created at or after r157846. For Mountain Lion, this corresponds to nightlies created at or after r122421.
Attachments
Patch (4.04 KB, patch)
2014-10-29 16:03 PDT, Matthew Hanson
ddkilzer: review+
Matthew Hanson
Comment 1 2014-10-29 16:03:54 PDT
Radar WebKit Bug Importer
Comment 2 2014-10-29 16:05:25 PDT
David Kilzer (:ddkilzer)
Comment 3 2014-10-29 16:53:15 PDT
Comment on attachment 240636 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=240636&action=review r=me with the comments resolved. > Tools/ChangeLog:10 > + It also does a bit of refactoring, including distinguishing between versions and version strings and > + saving versions to local variables instead of using eval in each conditional. +1 for the performance optimization. :) > Tools/ChangeLog:18 > + Restrict the set of nifhtlies to r122421 and above when running Mountain Lion. Typo: nifhtlies => nightlies > Tools/Scripts/bisect-builds:349 > + } > + > + if ($osxVersion ge v10.5) { Should this turn into an elsif? There's no need to re-run the code in this block for 10.8, 10.9 or 10.10. } elsif ($osxVersion ge v10.5) { If we wanted to be thorough, we could also add a FIXME comment for v10.6 and v10.7, but it probably doesn't matter at this point. > Tools/Scripts/bisect-builds:364 > if ($safariVersion eq "4 Public Beta") { This line needs to change to: if ($safariVersionString eq "4 Public Beta") { > Tools/Scripts/bisect-builds:375 > die "Requires Safari 2.0 or newer"; You could change the die statement below this patch context to be: die "Requires Mac OS X 10.4 (Tiger) or later";
Matthew Hanson
Comment 4 2014-10-29 17:13:11 PDT
Matthew Hanson
Comment 5 2014-10-30 13:57:53 PDT
Note You need to log in before you can comment on or make changes to this bug.