Summary: | Script to collect coverage infos after running run-webkit-tests | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Langó László <lango.laszlo> | ||||||||||||||||
Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> | ||||||||||||||||
Status: | RESOLVED INVALID | ||||||||||||||||||
Severity: | Normal | CC: | loki, ossy | ||||||||||||||||
Priority: | P2 | Keywords: | Qt | ||||||||||||||||
Version: | 420+ | ||||||||||||||||||
Hardware: | PC | ||||||||||||||||||
OS: | Linux | ||||||||||||||||||
Bug Depends on: | |||||||||||||||||||
Bug Blocks: | 78701 | ||||||||||||||||||
Attachments: |
|
Description
Langó László
2012-04-19 05:15:01 PDT
Created attachment 138302 [details]
first draft patch
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 . Created attachment 144008 [details]
Second version
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
Created attachment 144768 [details]
4th version
without build and run layout tests, only for collect coverage infos after running run-webkit-tests
Created attachment 173574 [details]
reworked version
Reworked version.
It creates db in csv format with the following tables:
- libraries
- coverage
- functions
- sources
- testcases
Created attachment 173860 [details]
reworked version
updated patch to handle binaries dinamically
Created attachment 173861 [details]
reworked version
replacing previous patch that was wrongly generated
=== 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. |