Changes between Version 6 and Version 7 of WebKitGtkLayoutTests


Ignore:
Timestamp:
Sep 28, 2010 10:21:31 AM (14 years ago)
Author:
Martin Robinson
Comment:

Updated to reflect new font requirements and calling convention

Legend:

Unmodified
Added
Removed
Modified
  • WebKitGtkLayoutTests

    v6 v7  
    55You will need to install the following Debian packages to run the layout tests. For other distributions, you must install the equivalent packages.
    66{{{
    7 sudo aptitude install curl ruby apache2 libapache2-mod-php5
     7sudo aptitude install curl ruby apache2 libapache2-mod-php5 ttf-dejavu ttf-liberation
    88}}}
    99
     
    3535Simply run the `run-webkit-tests` script from the WebKitTools directory. `run-webkit-tests` also supports the `--debug` argument to run the tests with the debug build of WebKitGTK+.
    3636{{{
    37 env -i DISPLAY=:23 WEBKIT_TESTFONTS=/home/developer/work/testfonts \
    38     ./WebKitTools/Scripts/run-webkit-tests --gtk [--debug]
     37env -i DISPLAY=:23  ./WebKitTools/Scripts/run-webkit-tests --gtk [--debug]
    3938}}}
    4039If you wish to run a single test you can do:
    4140{{{
    42 env -i DISPLAY=:23 WEBKIT_TESTFONTS=/home/developer/work/testfonts \
    43     ./WebKitTools/Scripts/run-webkit-tests --gtk fast/forms/plaintext-mode-1.html
     41env -i DISPLAY=:23 ./WebKitTools/Scripts/run-webkit-tests --gtk fast/forms/plaintext-mode-1.html
    4442}}}
    4543
     
    4846WebKitGTK+ supports running pixel tests, but they are not enabled by default. To run them simply pass the `-p` argument to `run-webkit-tests`:
    4947{{{
    50 env -i DISPLAY=:23 WEBKIT_TESTFONTS=/home/developer/work/testfonts \
    51     ./WebKitTools/Scripts/run-webkit-tests --gtk -p
     48env -i DISPLAY=:23 ./WebKitTools/Scripts/run-webkit-tests --gtk -p
    5249}}}
    5350
     
    5552Sometimes you may need to generate new results for a test that relies on render tree output. This can be accomplished by passing the `--new-test-results` option. Note that new pixel results require the `-p` option as well:
    5653{{{
    57 env -i DISPLAY=:23 WEBKIT_TESTFONTS=/home/developer/work/testfonts \
    58     ./WebKitTools/Scripts/run-webkit-tests --gtk fast/forms/plaintext-mode-1.html --new-test-results
     54env -i DISPLAY=:23  ./WebKitTools/Scripts/run-webkit-tests --gtk fast/forms/plaintext-mode-1.html --new-test-results
    5955}}}
    6056