Changes between Version 1 and Version 2 of WebKitGtkLayoutTests


Ignore:
Timestamp:
Jul 28, 2010 1:45:52 PM (9 years ago)
Author:
mrobinson@webkit.org
Comment:

Added some further information about running layout tests

Legend:

Unmodified
Added
Removed
Modified
  • WebKitGtkLayoutTests

    v1 v2  
    2828== Running the Tests ==
    2929
    30 Simply run the run-webkit-tests script from the WebKitTools directory:
     30Simply 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+.
    3131{{{
    32 env -i DISPLAY=:23 WEBKIT_TESTFONTS=/home/developer/work/testfonts ./WebKitTools/Scripts/run-webkit-tests --gtk
     32env -i DISPLAY=:23 WEBKIT_TESTFONTS=/home/developer/work/testfonts \
     33    ./WebKitTools/Scripts/run-webkit-tests --gtk [--debug]
    3334}}}
    3435If you wish to run a single test you can do:
     
    3738    ./WebKitTools/Scripts/run-webkit-tests --gtk fast/forms/plaintext-mode-1.html
    3839}}}
     40WebKitGTK+ supports running pixel tests, but they are not enabled by default. To run them simply pass the `-p` argument to `run-webkit-tests`:
     41{{{
     42env -i DISPLAY=:23 WEBKIT_TESTFONTS=/home/developer/work/testfonts \
     43    ./WebKitTools/Scripts/run-webkit-tests --gtk -p
     44}}}
     45Sometimes 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:
     46{{{
     47env -i DISPLAY=:23 WEBKIT_TESTFONTS=/home/developer/work/testfonts \
     48    ./WebKitTools/Scripts/run-webkit-tests --gtk fast/forms/plaintext-mode-1.html --new-test-results
     49}}}
    3950For debugging a test it may be useful to run it directly in DumpRenderTree (with gdb):
    4051{{{