summaryrefslogtreecommitdiffstats
path: root/tools/code_coverage
Commit message (Collapse)AuthorAgeFilesLines
* Beginning of code coverage on Windows.jrg@chromium.org2009-07-071-23/+153
| | | | | | Review URL: http://codereview.chromium.org/155123 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20045 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Linux code coverage.jrg@chromium.org2009-06-222-11/+4
| | | | | | Review URL: http://codereview.chromium.org/141016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18921 0039d316-1c4b-4281-b951-d872f2087c98
* Trying to re-land r17758 (http://codereview.chromium.org/118247) but with ↵kuchhal@chromium.org2009-06-091-3/+2
| | | | | | | | | | name installer_util_unittests instead of util_unittests. BUG=12849 Review URL: http://codereview.chromium.org/119322 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17916 0039d316-1c4b-4281-b951-d872f2087c98
* Add unit_tests (Chrome browser unit tests) to Mac/Linux coverage.jrg@chromium.org2009-06-051-24/+77
| | | | | | | | Minor fixes to coverage related scripts. Review URL: http://codereview.chromium.org/118298 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17785 0039d316-1c4b-4281-b951-d872f2087c98
* Add example .croc file.rspangler@google.com2009-06-051-0/+222
| | | | | | Review URL: http://codereview.chromium.org/119209 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17776 0039d316-1c4b-4281-b951-d872f2087c98
* Forgot the CSS file.rspangler@google.com2009-05-291-0/+124
| | | | | | Review URL: http://codereview.chromium.org/118034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17249 0039d316-1c4b-4281-b951-d872f2087c98
* Major refactoring of Croc.rspangler@google.com2009-05-295-220/+1215
| | | | | | | | | | | | Add support for scanning missing source files for executable lines. Add support for HTML output. Now reports percent coverage. BUG=none TEST=by hand on experimental buildbot Review URL: http://codereview.chromium.org/113980 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17141 0039d316-1c4b-4281-b951-d872f2087c98
* Add croc code coverage tool. (Same change as yesterday, but now made in therspangler@google.com2009-05-132-0/+1363
| | | | | | | | writable repository) Review URL: http://codereview.chromium.org/113346 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15974 0039d316-1c4b-4281-b951-d872f2087c98
* Code coverage improvements.jrg@chromium.org2009-04-301-11/+60
| | | | | | | | | | Code coverage now works for Linux. Unit tests to run passed from project to coverage_posix.py so deps are correct. Review URL: http://codereview.chromium.org/100189 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15016 0039d316-1c4b-4281-b951-d872f2087c98
* 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