Changes between Version 6 and Version 7 of WebKitGtkLayoutTests
- Timestamp:
- Sep 28, 2010, 10:21:31 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WebKitGtkLayoutTests
v6 v7 5 5 You will need to install the following Debian packages to run the layout tests. For other distributions, you must install the equivalent packages. 6 6 {{{ 7 sudo aptitude install curl ruby apache2 libapache2-mod-php5 7 sudo aptitude install curl ruby apache2 libapache2-mod-php5 ttf-dejavu ttf-liberation 8 8 }}} 9 9 … … 35 35 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+. 36 36 {{{ 37 env -i DISPLAY=:23 WEBKIT_TESTFONTS=/home/developer/work/testfonts \ 38 ./WebKitTools/Scripts/run-webkit-tests --gtk [--debug] 37 env -i DISPLAY=:23 ./WebKitTools/Scripts/run-webkit-tests --gtk [--debug] 39 38 }}} 40 39 If you wish to run a single test you can do: 41 40 {{{ 42 env -i DISPLAY=:23 WEBKIT_TESTFONTS=/home/developer/work/testfonts \ 43 ./WebKitTools/Scripts/run-webkit-tests --gtk fast/forms/plaintext-mode-1.html 41 env -i DISPLAY=:23 ./WebKitTools/Scripts/run-webkit-tests --gtk fast/forms/plaintext-mode-1.html 44 42 }}} 45 43 … … 48 46 WebKitGTK+ supports running pixel tests, but they are not enabled by default. To run them simply pass the `-p` argument to `run-webkit-tests`: 49 47 {{{ 50 env -i DISPLAY=:23 WEBKIT_TESTFONTS=/home/developer/work/testfonts \ 51 ./WebKitTools/Scripts/run-webkit-tests --gtk -p 48 env -i DISPLAY=:23 ./WebKitTools/Scripts/run-webkit-tests --gtk -p 52 49 }}} 53 50 … … 55 52 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: 56 53 {{{ 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 54 env -i DISPLAY=:23 ./WebKitTools/Scripts/run-webkit-tests --gtk fast/forms/plaintext-mode-1.html --new-test-results 59 55 }}} 60 56