[webkit-help] Help needed on running layout tests

yvs reddy yvsreddy_2000 at yahoo.co.uk
Wed Apr 6 03:50:56 PDT 2011


Hi,

I am able to build webkit on windows Successfully and then started running Layout tests. When I execute individual test cases  the test cases failed as shown below. Most of the test cases are failing in the same way.

$ ./run-webkit-tests LayoutTests/fast/forms/thumbslider-no-parent-slider.html

Running build-dumprendertree
Building results into: /home/501200i890/WebKit/WebKitBuild
WEBKITOUTPUTDIR is set to: C:\cygwin\home\501200i890\WebKit\WebKitBuild
WEBKITLIBRARIESDIR is set to: C:\cygwin\home\501200i890\WebKit\WebKitLibraries\win
/home/501200i890/WebKit/Tools/Scripts/pdevenv DumpRenderTree.sln /build Debug
Setting environment for using Microsoft Visual Studio 2005 x86 tools.

Microsoft (R) Visual Studio Version 8.0.50727.762.
Copyright (C) Microsoft Corp 1984-2005. All rights reserved.
========== Build: 0 succeeded, 0 failed, 4 up-to-date, 0 skipped ==========
The _NT_SYMBOL_PATH environment variable is not set. Crash logs will not be saved.
See <http://trac.webkit.org/wiki/BuildingOnWindows#GettingCrashLogs>.
Running tests from /home/501200i890/WebKit/LayoutTests
Testing 1 test cases.
fast/forms .
fast/forms/thumbslider-no-parent-slider.html -> failed

1.42s total testing time

1 test case (100%) had incorrect layout

The test results are shown in html page and show below is the pretty diff which differs in the coordinates. Can please some one help me on this.

/tmp/layout-test-results/fast/forms/thumbslider-no-parent-slider-actual.txt

33layer at (0,0) size 800x600
44 RenderBlock {HTML} at (0,0) size 800x600
55 RenderBody {BODY} at (8,8) size 784x584
6  RenderText {#text} at (0,0) size 592x18
 6 RenderText {#text} at (0,0) size 592x20
77 text run at (0,0) width 592: "There should be no thumbsliders below, you should only see the words \"Hello World\" twice. "
88 RenderBR {BR} at (0,0) size 0x0
9  RenderBR {BR} at (0,18) size 0x18
10  RenderBlock {SPAN} at (0,36) size 79x18
11  RenderText {#text} at (0,0) size 79x18
 9 RenderBR {BR} at (0,21) size 0x20
 10 RenderBlock {SPAN} at (0,42) size 79x21
 11 RenderText {#text} at (0,0) size 79x20
1212 text run at (0,0) width 79: "Hello World"
13  RenderBR {BR} at (79,50) size 0x0
14  RenderBlock {SPAN} at (0,54) size 79x18
15  RenderText {#text} at (0,0) size 79x18
 13 RenderBR {BR} at (79,59) size 0x0
 14 RenderBlock {SPAN} at (0,63) size 79x21
 15 RenderText {#text} at (0,0) size 79x20
1616 text run at (0,0) width 79: "Hello World"
1717 RenderText {#text} at (0,0) size 0x0


Regards,
Yvs


More information about the webkit-help mailing list