Confirmed users
14,525
edits
Line 16: | Line 16: | ||
'''''Note: We recommend [[#Narrowing_the_Range|narrowing down the range]] manually before using mozregression.''''' | '''''Note: We recommend [[#Narrowing_the_Range|narrowing down the range]] manually before using mozregression.''''' | ||
Using mozregression is as simple as running ''mozregression'' from a command prompt. However, this will start with Nightly builds from January 1, 2009 which could make finding the regression range a longer process. Assuming you know the build dates for the first bad and last good Nightly you would run ''mozgression --good YYYY-MM-DD --bad YYYY-MM-DD'' where YYYY-MM-DD is the date of each build. See [[#Narrowing_the_Range|narrowing down the range]] for information on getting those dates. | |||
1) Open a command prompt and run ''mozgression --good YYYY-MM-DD --bad YYYY-MM-DD'' where YYYY-MM-DD is the range of dates you want to test. | |||
2) Mozregression will download builds between those dates, start with a new profile, and allow you to test for your bug. | |||
3) Once you're done testing, switch back to the command prompt and mark the status of the build: | |||
* ''bad'' if the build reproduces the bug | |||
* ''good'' if the build does not reproduce the bug | |||
* ''skip'' if you want to skip testing the bug in that build | |||
* ''broken'' if the build does not work at all (eg. if it crashes) | |||
4) Mozregression will bisect the range and grab the next nightly, repeating the process above | |||
5) Once the range has been narrowed to a single day it will provide changeset IDs and a pushlog for the range. | |||
* Make note of this and copy it to your bug report. | |||
6) Mozregression will then begin bisecting the range with mozilla-inbound builds | |||
* You can skip this step unless someone has asked you to bisect the range further. | |||
== Narrowing the Range == | == Narrowing the Range == |