diff options
author | Josh Soref <2119212+jsoref@users.noreply.github.com> | 2022-02-22 17:01:28 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-22 22:01:28 +0000 |
commit | 2b8e6958f40ef36c1508118ac36a43694283a83c (patch) | |
tree | fa9a9b6843546bdb297b00bc78b83ab4c318f724 /test/tools/gcov_coveralls.py | |
parent | 85faeb34719e2b0898d319b02416f669d70f4562 (diff) | |
download | rspamd-2b8e6958f40ef36c1508118ac36a43694283a83c.tar.gz rspamd-2b8e6958f40ef36c1508118ac36a43694283a83c.zip |
Spelling (#4086)
[Rework] Massive spelling fix from @jsoref
Diffstat (limited to 'test/tools/gcov_coveralls.py')
-rwxr-xr-x | test/tools/gcov_coveralls.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/tools/gcov_coveralls.py b/test/tools/gcov_coveralls.py index ee441853f..dcbd93f5b 100755 --- a/test/tools/gcov_coveralls.py +++ b/test/tools/gcov_coveralls.py @@ -13,15 +13,15 @@ gcov(1) utility can be used to get information from *.gcda file and write text reports to *.gocov file (one file for each source file from which object was compiled). The script finds *.gcno files, uses gcov to generate *.gcov files, parses them -and accomulates statistics for all source files. +and accumulates statistics for all source files. This script was written with quite a few assumptions: * Code was build using absolute path to source directory (and absolute path - stored in object file debug sylmbols). + stored in object file debug symbols). * Current directory is writable and there is no useful *.gcov files in it - (becase they will be deleted). + (because they will be deleted). * Object file has same base name as *.gcno file (e. g. foo.c.gcno and foo.c.o). This is the case for cmake builds, but probably not for other build systems @@ -101,7 +101,7 @@ def main(): '-v', '--verbose', action="store_true", - help='Display additional informaton and gcov command output.') + help='Display additional information and gcov command output.') parser.add_argument( '-e', '--exclude', @@ -109,14 +109,14 @@ def main(): metavar='DIR', help= ("Don't look for .gcno/.gcda files in this directories (repeat option to skip several directories). " - "Path is relative to the dirictory where script was started, e. g. '.git'")) + "Path is relative to the directory where script was started, e. g. '.git'")) parser.add_argument( '-p', '--prefix', action='append', help= ("Strip this prefix from absolute path to source file. " - "If this option is provided, then only files with given prefixex in absolute path " + "If this option is provided, then only files with given prefixes in absolute path " "will be added to coverage (option can be repeated).")) parser.add_argument( '--out', @@ -169,7 +169,7 @@ def main(): # skip file outside given prefixes # it can be e. g. library include file if args.verbose: - warn('file "{}" is not mathced by prefix, skipping'.format(src_file)) + warn('file "{}" is not matched by prefix, skipping'.format(src_file)) continue try: |