WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
44012
[Qt] DumpRenderTree runs only one test from command mode
https://bugs.webkit.org/show_bug.cgi?id=44012
Summary
[Qt] DumpRenderTree runs only one test from command mode
Mahesh Kulkarni
Reported
2010-08-14 11:42:57 PDT
Layout testing for qtwebkit is executed by run-webkit-script One can also run .\DumpRenderTree with one test case as command mode arguments. But DumpRenderTree does not support passing more than one test case as arguments which is very handy in debugging test cases where DumpRenderTree passes when run individually but not in a group. (In case of geolocation layout testing running cases together gives different result) This bug is to allow DumpRenderTreeQt to allow passing of multiple test cases to execute.
Attachments
patch
(5.70 KB, patch)
2010-08-14 12:04 PDT
,
Mahesh Kulkarni
no flags
Details
Formatted Diff
Diff
patch
(6.73 KB, patch)
2010-08-25 06:01 PDT
,
Mahesh Kulkarni
kenneth
: review-
Details
Formatted Diff
Diff
patch
(6.95 KB, patch)
2010-08-26 02:50 PDT
,
Mahesh Kulkarni
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Mahesh Kulkarni
Comment 1
2010-08-14 12:04:38 PDT
Created
attachment 64422
[details]
patch This patch implements supporting multiple test case as command line arguments. This fix could be extended to support folder (and nested folders) argument as well which will read all html files and run them one by one. Running DumpRenderTree from command mode with multiple cases helps to debug the failing cases which passes if run individually. Please review
Mahesh Kulkarni
Comment 2
2010-08-25 06:01:50 PDT
Created
attachment 65405
[details]
patch From previous patch, 1) Changed customMode to StandAloneMode as per Kenneth suggestion. 2) Added support for folder path (non-recursive) support to DRT. Any folder containing test files can be run directly with DRT. Ex: ./WebKitBuild/Debug/bin/DumpRenderTree ~/webkit/LayoutTests/fast/dom/Geolocation/ (will run all *.html files in sequence which helped in debugging DRT alone with qtcreator)
Andreas Kling
Comment 3
2010-08-25 09:37:00 PDT
Removing this from QtWebKit 2.1 blockers as it's clearly not release-critical.
Kenneth Rohde Christiansen
Comment 4
2010-08-26 01:06:11 PDT
Comment on
attachment 65405
[details]
patch WebKitTools/DumpRenderTree/qt/DumpRenderTreeQt.cpp:619 + QStringList onlyHtmls("*.html"); what about .xhtml etc? WebKitTools/DumpRenderTree/qt/DumpRenderTreeQt.cpp:621 + for (int i = 0; i < m_standAloneModeTestList.size(); ++i) unsigned?
Kenneth Rohde Christiansen
Comment 5
2010-08-26 01:56:29 PDT
Comment on
attachment 65405
[details]
patch r- due to only accepting .html tests
Mahesh Kulkarni
Comment 6
2010-08-26 02:50:49 PDT
Created
attachment 65537
[details]
patch incorporate changes as per
comment #4
Kenneth Rohde Christiansen
Comment 7
2010-08-26 02:52:55 PDT
Comment on
attachment 65537
[details]
patch Comments start with capital and ends with dot.
Andras Becsi
Comment 8
2010-08-26 03:19:28 PDT
Committed revision 66092.
Andras Becsi
Comment 9
2010-08-26 03:19:50 PDT
Comment on
attachment 65537
[details]
patch Clearing flags.
Mahesh Kulkarni
Comment 10
2010-08-26 04:06:09 PDT
Thank you Kenneth and Andras!
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug