Changes between Version 1 and Version 2 of WebKitGtkLayoutTests
- Timestamp:
- Jul 28, 2010, 1:45:52 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WebKitGtkLayoutTests
v1 v2 28 28 == Running the Tests == 29 29 30 Simply run the run-webkit-tests script from the WebKitTools directory:30 Simply 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+. 31 31 {{{ 32 env -i DISPLAY=:23 WEBKIT_TESTFONTS=/home/developer/work/testfonts ./WebKitTools/Scripts/run-webkit-tests --gtk 32 env -i DISPLAY=:23 WEBKIT_TESTFONTS=/home/developer/work/testfonts \ 33 ./WebKitTools/Scripts/run-webkit-tests --gtk [--debug] 33 34 }}} 34 35 If you wish to run a single test you can do: … … 37 38 ./WebKitTools/Scripts/run-webkit-tests --gtk fast/forms/plaintext-mode-1.html 38 39 }}} 40 WebKitGTK+ supports running pixel tests, but they are not enabled by default. To run them simply pass the `-p` argument to `run-webkit-tests`: 41 {{{ 42 env -i DISPLAY=:23 WEBKIT_TESTFONTS=/home/developer/work/testfonts \ 43 ./WebKitTools/Scripts/run-webkit-tests --gtk -p 44 }}} 45 Sometimes 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 {{{ 47 env -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 }}} 39 50 For debugging a test it may be useful to run it directly in DumpRenderTree (with gdb): 40 51 {{{