summaryrefslogtreecommitdiffstats
path: root/tools/code_coverage
Commit message (Collapse)AuthorAgeFilesLines
* Minor tweaks to make coverage happier on OSX.jrg@chromium.org2009-04-161-14/+22
| | | | | | | | | See 1st post at (XXX internal URL removed XXX) Code coverage for base: 85% (!!!) Review URL: http://codereview.chromium.org/67235 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13880 0039d316-1c4b-4281-b951-d872f2087c98
* Start of code coverage for Mac.jrg@chromium.org2009-04-031-0/+120
| | | | | | | | | | | | | Only base_unittests included for now. Linux changes added as well but untested until Linux switches to gyp. Enable coverage with the following command: src/tools/gyp/gyp_dogfood -Dcoverage=1 src/build/all.gyp Review URL: http://codereview.chromium.org/56136 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13068 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes CRLF and trailing white spaces.maruel@chromium.org2009-03-052-47/+47
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10982 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed a small bug with variable names.niranjan@google.com2008-11-201-2/+3
| | | | | | | | TBR=patrick@chromium.org Review URL: http://codereview.chromium.org/11530 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5776 0039d316-1c4b-4281-b951-d872f2087c98
* Added flags to the coverage script so that this can run locally and ↵niranjan@google.com2008-11-201-38/+62
| | | | | | | | developers can use the .coverage files inside their Visual Studio Team Tools. Also misc bug fixes. Review URL: http://codereview.chromium.org/11497 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5737 0039d316-1c4b-4281-b951-d872f2087c98
* Adding section to parse the lcov data and post the newace@chromium.org2008-10-301-2/+179
| | | | | | | coverage dataset to the code coverage dashboard. Review URL: http://codereview.chromium.org/8693 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4253 0039d316-1c4b-4281-b951-d872f2087c98
* Added CSV format output for process_coverage.py which will be used by the ↵niranjan@google.com2008-10-241-14/+42
| | | | | | | | code coverage dashboard to show a more accurate count of the actual code coverage. Also fixed a couple of bugs with this script. Review URL: http://codereview.chromium.org/7983 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3941 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed a crash in the coverage script.niranjan@google.com2008-10-241-59/+99
| | | | | | | | The .coverage -> lcov converter tool ended up crashing the coverage script as it ran out of memory while processing a huge file (it threw an .Net 'Out of Memory' exception). I have now changed it to generate smaller intermediate LCOV files (one per test binary) and then consolidate them all into one large LCOV file. Review URL: http://codereview.chromium.org/8157 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3938 0039d316-1c4b-4281-b951-d872f2087c98
* Fix bugs with coverage.pyniranjan@google.com2008-10-171-39/+76
| | | | | | | | Fixed bugs with coverage.py and added the list of binaries to be instrumented and the tests to be run. Review URL: http://codereview.chromium.org/7469 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3537 0039d316-1c4b-4281-b951-d872f2087c98
* Wow, it's been a while since we cleaned EOL.maruel@google.com2008-09-252-502/+502
| | | | | | | | | | | | Ran dos2unix on *.cc, *.h, *.py and SCons*.* Ran for /R /D %a in (*.*) do @if exist %a\.svn\. svn pset svn:eol-style LF %a\*.cc Ran for /R /D %a in (*.*) do @if exist %a\.svn\. svn pset svn:eol-style LF %a\*.h Ran for /R /D %a in (*.*) do @if exist %a\.svn\. svn pset svn:eol-style LF %a\*.py Ran for /R /D %a in (*.*) do @if exist %a\.svn\. svn pset svn:eol-style LF %a\SCons*.* git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2611 0039d316-1c4b-4281-b951-d872f2087c98
* Moved over the test running part over to coverage.py and addressed comments ↵niranjan@google.com2008-09-181-10/+92
| | | | | | | | as per revision number 2823. Review URL: http://codereview.chromium.org/3139 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2391 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed the case where VSPerfCmd was blocking rest of the script to proceed ↵niranjan@google.com2008-08-261-18/+34
| | | | | | and a few other minor fixes. Also added logging. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1410 0039d316-1c4b-4281-b951-d872f2087c98
* Use a more compact license header in source files.license.bot2008-08-241-28/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1287 0039d316-1c4b-4281-b951-d872f2087c98
* Initial check-in for the Coverage class. This checkin includes methods to ↵niranjan@google.com2008-08-141-0/+195
| | | | | | | | setup and teardown all that is needed measuring code coverage (instrumenting binaries, starting/stopping counters, etc). Next step is to modify the test runners to make use of this class. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@909 0039d316-1c4b-4281-b951-d872f2087c98
* Initial checkin for the code coverage dashboard script.niranjan@google.com2008-08-121-0/+233
Script to process the code coverage data once the lcov files have been uploaded on the server. This will 'clean' the lcov file (Windows only) and then run genhtml to produce the HTML version of the code coverage at the dashboard. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@745 0039d316-1c4b-4281-b951-d872f2087c98