Changes between Version 7 and Version 8 of Rebaseline


Ignore:
Timestamp:
Dec 20, 2010 9:47:02 AM (13 years ago)
Author:
Adam Roben
Comment:

Update for WebKitTools -> Tools rename

Legend:

Unmodified
Added
Removed
Modified
  • Rebaseline

    v7 v8  
    33The rebaselining tool automatically produces new expected results using the layout test results from buildbots. The goal is that after running this tool, the working copy will be ready to create a change containing all new baselines.
    44
    5 The tool is written in Python and lives in `WebKitTools/Scripts` ([http://trac.webkit.org/browser/trunk/WebKitTools/Scripts/rebaseline-chromium-webkit-tests]).
     5The tool is written in Python and lives in `Tools/Scripts` ([http://trac.webkit.org/browser/trunk/Tools/Scripts/rebaseline-chromium-webkit-tests]).
    66
    77== How does this tool work? ==
     
    1818  * Make sure the test files exist in repository and the build bots have cycled at least once after they were committed. If you are not sure, check the Release version of [http://build.chromium.org/buildbot/layout_test_results/ buildbot layout archive] to see whether your test results are available. By default, the rebaselining tool retrieves new baselines from the release version of buildbot layout test archive.
    1919  * Update `test_expectations.txt`: add flag `REBASELINE` to the tests that need to be rebaselined.
    20   * Run rebaselining script: `WebKitTools/Scripts/rebaseline-chromium-webkit-tests`. If you want to pull new baselines from the webkit.org canary, use `--webkit_canary` (`-w`) option.
     20  * Run rebaselining script: `Tools/Scripts/rebaseline-chromium-webkit-tests`. If you want to pull new baselines from the webkit.org canary, use `--webkit_canary` (`-w`) option.
    2121  * If the script runs successfully, new baselines (expected files) are added to SVN repository and the rebaselined tests are removed from `test_expectations.txt`.
    2222  * The tool launches a html page to compare the old and new baselines. Check the new baseline changes are expected.
     
    3333}}}
    3434
    35   * Run `WebKitTools/Scripts/rebaseline-chromium-webkit-tests`.
     35  * Run `Tools/Scripts/rebaseline-chromium-webkit-tests`.
    3636  * Check that tests `foo1` and `foo2` were removed from test_expectations.txt.
    3737
     
    4747== FAQ ==
    4848=== Rebaseline tool complains ImageDiff is missing ===
    49 The rebaseline tool requires ImageDiff binary to compare pixel baselines. If you don't have ImageDiff binary in WebKitBuild/[Debug or Release], run WebKitTools/Scripts/build-dumprendertree from the webkit checkout generates ImageDiff.
     49The rebaseline tool requires ImageDiff binary to compare pixel baselines. If you don't have ImageDiff binary in WebKitBuild/[Debug or Release], run Tools/Scripts/build-dumprendertree from the webkit checkout generates ImageDiff.