diff options
Diffstat (limited to 'test/tools')
-rwxr-xr-x | test/tools/dump_coveralls.py | 2 | ||||
-rwxr-xr-x | test/tools/gcov_coveralls.py | 14 | ||||
-rwxr-xr-x | test/tools/http_put.py | 2 | ||||
-rwxr-xr-x | test/tools/merge_coveralls.py | 2 |
4 files changed, 10 insertions, 10 deletions
diff --git a/test/tools/dump_coveralls.py b/test/tools/dump_coveralls.py index c453d0511..a96dc9242 100755 --- a/test/tools/dump_coveralls.py +++ b/test/tools/dump_coveralls.py @@ -30,7 +30,7 @@ def dump_file(json_file): warn("{}: no source_files, not a coveralls.io payload?".format(json_file)) return 1 - print("{} ({} soource files)".format(json_file, len(data['source_files']))) + print("{} ({} source files)".format(json_file, len(data['source_files']))) for src_file in sorted(data['source_files'], key=itemgetter('name')): covered_lines = not_skipped_lines = 0 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: diff --git a/test/tools/http_put.py b/test/tools/http_put.py index de2dad3d7..8ede68ee8 100755 --- a/test/tools/http_put.py +++ b/test/tools/http_put.py @@ -12,7 +12,7 @@ import requests def main(): parser = argparse.ArgumentParser( - description='Upload a file usgin HTTP PUT method', + description='Upload a file using HTTP PUT method', epilog=( "To use HTTP Auth set HTTP_PUT_AUTH environment variable to user:password\n" "Example: %(prog)s file1 file2 https://example.com/dir/")) diff --git a/test/tools/merge_coveralls.py b/test/tools/merge_coveralls.py index 36a616262..ff6736f6e 100755 --- a/test/tools/merge_coveralls.py +++ b/test/tools/merge_coveralls.py @@ -172,4 +172,4 @@ if __name__ == '__main__': if 'url' in response: print("[coveralls] Uploaded to %s" % response['url']) except json.decoder.JSONDecodeError: - print("Bad resonse: '%s'" % r.text) + print("Bad response: '%s'" % r.text) |