diff options
author | Maarten Hoes <hoes.maarten@gmail.com> | 2014-11-13 21:51:45 +0100 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-11-16 10:17:45 +0000 |
commit | ca5fa90a3cbdbdafa231c22fe6bb7f8a9e686a2d (patch) | |
tree | 74455a1977bccbbef848bd81ea881107749f4d76 /lcov-report/README | |
parent | dc7ef6b14866d787fe5fad9969de93c32536a2e3 (diff) |
Removed concept of 'commandfile', allow for seperate runs of [-b|-a|-c].
Change-Id: I82721911ac808baaacbaa773a9b63e832de08c72
Reviewed-on: https://gerrit.libreoffice.org/12413
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'lcov-report/README')
-rw-r--r-- | lcov-report/README | 34 |
1 files changed, 21 insertions, 13 deletions
diff --git a/lcov-report/README b/lcov-report/README index e73f51a..542d718 100644 --- a/lcov-report/README +++ b/lcov-report/README @@ -1,27 +1,35 @@ -A small script to create gcov/lcov code coverage reports of tests run -on the libreoffice source code. +lcov-report.sh + A small script to create gcov/lcov code coverage reports of tests run + on the libreoffice source code. -Usage: lcov-report.sh [-b] -c [FILE] -s [DIRECTORY] -t [DIRECTORY] -w [DIRECTORY] +Usage: lcov-report.sh [-a|-b|-c] -s [DIRECTORY] -t [DIRECTORY] -w [DIRECTORY] --s - Specify the location where the libreoffice source code is - located. This flag is mandatory. - --c - Specify the file containing the libreoffice test commands to run. - In it's simplest form, this file could contain a single line - reading something like 'cd $SRCDIR && make check'. This flag - is mandatory. -b + Run lcov commands before you run your tests. This creates a + baseline lcov tracefile. You can only supply one of '-a', '-b' + or '-c' simultaneously. + +-a + Run lcov commands after you run your tests. This creates a + tracefile that contains the resukts of your tests, and combines + it with the baseline. You can only supply one of '-a', '-b' or + '-c' simultaneously. + +-c Specifies to build the libreoffice sources in the location specified by the '-s' flag. This flag is optional. If you choose to omit it, you must make sure the libreoffice source code is built using the appropriate FLAGS ('-fprofile-arcs - -ftest-coverage'). + -ftest-coverage'). You can only supply one of '-a', '-b' or + '-c' simultaneously. + +-s + Specify the location where the libreoffice source code is + located. This flag is mandatory. -t Specifies the directory in which to contain the lcov |