WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
84330
Script to collect coverage infos after running run-webkit-tests
https://bugs.webkit.org/show_bug.cgi?id=84330
Summary
Script to collect coverage infos after running run-webkit-tests
Langó László
Reported
2012-04-19 05:15:01 PDT
This script makes csv files from the gathered coverage data what can you import to your database. Output: - functions.csv - testcases.csv - coverage.csv
Attachments
first draft patch
(4.81 KB, patch)
2012-04-23 00:19 PDT
,
Langó László
no flags
Details
Formatted Diff
Diff
Second version
(4.33 KB, patch)
2012-05-25 01:44 PDT
,
Langó László
no flags
Details
Formatted Diff
Diff
3rd version
(4.84 KB, patch)
2012-05-30 00:58 PDT
,
Langó László
no flags
Details
Formatted Diff
Diff
4th version
(4.43 KB, patch)
2012-05-30 02:36 PDT
,
Langó László
no flags
Details
Formatted Diff
Diff
reworked version
(6.69 KB, patch)
2012-11-11 23:54 PST
,
Zoltan Arvai
no flags
Details
Formatted Diff
Diff
reworked version
(4.97 KB, patch)
2012-11-13 04:35 PST
,
Zoltan Arvai
no flags
Details
Formatted Diff
Diff
reworked version
(6.82 KB, patch)
2012-11-13 04:38 PST
,
Zoltan Arvai
no flags
Details
Formatted Diff
Diff
Show Obsolete
(4)
View All
Add attachment
proposed patch, testcase, etc.
Langó László
Comment 1
2012-04-23 00:19:15 PDT
Created
attachment 138302
[details]
first draft patch
Csaba Osztrogonác
Comment 2
2012-05-24 05:06:10 PDT
Comment on
attachment 138302
[details]
first draft patch View in context:
https://bugs.webkit.org/attachment.cgi?id=138302&action=review
The runtime was 28 minutes for me, but I'm afraid a little bit beacuse of the 15G memory consumption.
> Tools/Scripts/generate-coverage-database-files:13 > +libQtWebKit = builddir + '/Release/lib/libQtWebKit.so.4.10.0'
It is libQtWebKit.so.4.8.0 for me with Qt 4.8.0 and libQtWebKit.so.5.0.0 with Qt 5.
> Tools/Scripts/generate-coverage-database-files:16 > +resultsdir = builddir + '/Release/methodcoverage/results'
But the instrumenter dumps the results into WebKitBuild/Release/methodcoverage and not into WebKitBuild/Release/methodcoverage/results .
Langó László
Comment 3
2012-05-25 01:44:09 PDT
Created
attachment 144008
[details]
Second version
Langó László
Comment 4
2012-05-30 00:58:47 PDT
Created
attachment 144740
[details]
3rd version now you must run only this script for get coverage data. This script will - create the directories - build webkit - run layouttests - create the *.csv files
Langó László
Comment 5
2012-05-30 02:36:40 PDT
Created
attachment 144768
[details]
4th version without build and run layout tests, only for collect coverage infos after running run-webkit-tests
Zoltan Arvai
Comment 6
2012-11-11 23:54:47 PST
Created
attachment 173574
[details]
reworked version Reworked version. It creates db in csv format with the following tables: - libraries - coverage - functions - sources - testcases
Zoltan Arvai
Comment 7
2012-11-13 04:35:26 PST
Created
attachment 173860
[details]
reworked version updated patch to handle binaries dinamically
Zoltan Arvai
Comment 8
2012-11-13 04:38:56 PST
Created
attachment 173861
[details]
reworked version replacing previous patch that was wrongly generated
Jocelyn Turcotte
Comment 9
2014-02-03 03:50:53 PST
=== Bulk closing of Qt bugs === If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it. If you believe that this is still an important QtWebKit bug, please fill a new report at
https://bugreports.qt-project.org
and add a link to this issue. See
http://qt-project.org/wiki/ReportingBugsInQt
for additional guidelines.
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