My favorites | Sign in
Logo
             
Search
for
Updated Oct 28, 2009 by vict...@chromium.org
RebaseliningTool  
Tool to produce new baselines for all three platforms

Introduction

This is a rebaselining tool that automatically produces baselines using the layout test results from buildbot for all platforms (win, linux and mac). The goal is that after running this tool, the working copy will be ready to create a change containing all new baselines for all three platforms.

The tool is written in Python and live in webkit/tools/layout_tests.

How does this tool work?

The script does the following for each platform:

After new baselines are generated, the tool launches a html page to compare the old and new baselines. The html can be disabled by option "--no_html_results".

How to use it?

Examples

We need rebaseline test LayoutTests/foo1.html for all three platforms and test LayoutTests/foo2.html for win and linux.

If foo1 and foo2 already exist, add option "REBASELINE" to the existing tests.
NOTE: you only need to run the script on ONE platform. The tool will auto generate new baselines for ALL three platforms.
Review the changes and then commit it. Don't check in with any tests still marked REBASELINE, as this will prevent others from cleanly using the tool.
Baseline Result Comparison HTML

Notes to GIT user

If you are using GIT repository, you need to manually "git add" all the new baseline files before creating patch.