summaryrefslogtreecommitdiff
path: root/lcov-report
AgeCommit message (Collapse)AuthorFilesLines
2022-08-18Simplified usage, changed order of steps, better exclusions.HEADmasterMaarten Hoes5-352/+211
The old script required you to run the script multiple times, in multiple 'steps/phases',and for you to run a manual 'make check' in between these steps at some point. The new version only needs to be run once, and only needs flags to tell it where the sources are, where the report should go, etc. Changed the order of the required steps to be more in line with the lcov man page. Added '--disable-ccache', as it may interfere with producing accurate results. Make sure that unwanted '$BUILD_DIR/foo' and '$SRC_DIR/foo' (/workdir/*, /instdir/*, /external/*) all get excluded from the final report, regardless of doing an in-source or out-of-source build. Change-Id: Icf7a7da49cfd423228e64059376a3b2f6e6ce952 Reviewed-on: https://gerrit.libreoffice.org/c/buildbot/+/135560 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Thorsten Behrens <thorsten.behrens@allotropia.de> Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2015-03-04Also readlink -f BUILD_DIR when running BEFORE or AFTER.Maarten Hoes1-0/+2
Change-Id: Ibce70d6cf3deb289bb6bdd8727f6d8680895f518 Reviewed-on: https://gerrit.libreoffice.org/14746 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-03-04Allow for easier debugging by setting $DEBUG.Maarten Hoes1-0/+2
Change-Id: Iefb0e6106695e7347da0c2447da98aab13eb7705 Reviewed-on: https://gerrit.libreoffice.org/14745 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-03-04Change report dir to have a fixed name.Maarten Hoes1-3/+3
Change-Id: I7532f1f532d25cc10c98b7b29fbc52d1ac042ebf Reviewed-on: https://gerrit.libreoffice.org/14742 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-01-27Added 'gb_GCOV=YES' to make commands.Maarten Hoes4-6/+8
Change-Id: I88f43377c4614e14d4cc34aace0c8b2e3544a302 Reviewed-on: https://gerrit.libreoffice.org/14183 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-01-04An example config for integration of lcov-report.sh with tinderbox.Maarten Hoes5-0/+147
Change-Id: Ibfb619c91ffd0ac41f2d6872817822ca0907f025 Reviewed-on: https://gerrit.libreoffice.org/13581 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-12-15Be more intelligent with 'readlink -f' for paths that dont exist yet.Maarten Hoes1-7/+16
Change-Id: I9575466e2705f9cbc75ab2a2a6a1209530556232 Reviewed-on: https://gerrit.libreoffice.org/13475 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-12-04Allow for relative pathnames, by translating relative to absolutei ones.Maarten Hoes1-4/+4
Change-Id: Ifee8c9d744cbed16090f35b437069b3ee4c84110 Reviewed-on: https://gerrit.libreoffice.org/13281 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-12-02Minor README corrections.Maarten Hoes1-3/+4
Change-Id: Ia80b42e724d90bb78876179261ccb9337d3a0d0f Reviewed-on: https://gerrit.libreoffice.org/13271 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-12-01Describe test that was run using lcov's 'description file'.Maarten Hoes2-22/+63
Change-Id: I5ac843e80e38f9eb31c20a69dc2421a9c329706d Reviewed-on: https://gerrit.libreoffice.org/13246 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-11-28build with internal python for PyUNO.Maarten Hoes1-1/+1
Change-Id: Ibb647b21a8281f9b3ec12711c50d89fdcb58ea88 Reviewed-on: https://gerrit.libreoffice.org/13177 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-11-17Add missing '/' in directory/file pathname.Maarten Hoes1-1/+1
Change-Id: I178239e8a504a612fa6b87cf37710d31a2d9bd13 Reviewed-on: https://gerrit.libreoffice.org/12512 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-11-16Dont 'rm TRACEFILE_DIR' when running '-a', some other minor fixes.Maarten Hoes1-5/+12
Change-Id: Ie03e3052b6cb675af463c1dab02d5ffb08935746 Reviewed-on: https://gerrit.libreoffice.org/12506 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-11-16Allow for separate src and build dirs, updated README.Maarten Hoes2-230/+249
Change-Id: I334f967bae349abaf1c40907138d005a37344729 Reviewed-on: https://gerrit.libreoffice.org/12475 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-11-16Removed concept of 'commandfile', allow for seperate runs of [-b|-a|-c].Maarten Hoes3-70/+118
Change-Id: I82721911ac808baaacbaa773a9b63e832de08c72 Reviewed-on: https://gerrit.libreoffice.org/12413 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-11-13Split script up in functions. Added example commandfile and README on usage.Maarten Hoes3-47/+172
Change-Id: I34c6bb1793e39dbc6ecc9336f34c086fc1803a24 Reviewed-on: https://gerrit.libreoffice.org/12404 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-11-12Replaced hardcoded variable values with commandline options.Maarten Hoes1-3/+33
Change-Id: Iac7d0d21970c2276f529a098df16f8cbd41d3de7 Reviewed-on: https://gerrit.libreoffice.org/12352 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-11-09Added a license statement.Maarten Hoes1-0/+7
Change-Id: Iedf068824245ad7d9c0c75fad3f92bf7c30fb4e5 Reviewed-on: https://gerrit.libreoffice.org/12325 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-11-08shell script to generate lcov code coverage reports.Maarten Hoes1-0/+116
Change-Id: I684207b6aad4549a9f333ab800dae0ed0b507bab Reviewed-on: https://gerrit.libreoffice.org/12315 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>