wiki:WebKitEFLLayoutTest

Version 3 (modified by kubo@profusion.mobi, 12 years ago) (diff)

Improve formatting

DumpRenderTree is related to WebKit's layout tests and can be run with the run-webkit-tests script.

Dependencies

TBD

Building DumpRenderTree

In order to build it in a way that all expected tests pass and it does not crash, however, certain features need to be enabled when building the port. SHARED_CORE currently needs to be turned on, and some features need to be enabled manually.

./Tools/Scripts/build-webkit --efl --touch-events --touch-icon-loading --blob --device-orientation \
                             --fullscreen-api --geolocation --notifications --orientation-events \
                             --video --workers --shared-workers --request-animation-frame --page-visibility-api \
                             --cmakearg="-DSHARED_CORE=ON"

Running LayoutTest

In order to run WebKitEFL's LayoutTest successfully, "exit-after-n-failuers" option should have 5000 as its own value when user run layout test because at least 4000 test cases are failed for now.

./Tools/Scripts/run-webkit-tests --efl --release --no-launch-safari \
                                 --results-directory layout-test-results \
                                 --exit-after-n-failures 5000 --child-processes=N

If you wish to run a single test you can do:

./Tools/Scripts/run-webkit-tests --efl fast/forms/plaintext-mode-1.html