diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-06-28 20:56:44 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-06-28 20:56:44 +0100 |
commit | 23ef4989ebaf960bfc9c71add9fd2c412e4ceca2 (patch) | |
tree | c7ed2715cc9e8dd15ba2564758473b83cb43199a /test/tools | |
parent | 4d5f68b64773dee39a10dfa5df6a4b4dd2068a09 (diff) | |
download | rspamd-23ef4989ebaf960bfc9c71add9fd2c412e4ceca2.tar.gz rspamd-23ef4989ebaf960bfc9c71add9fd2c412e4ceca2.zip |
[Test] Try to fix gcov invocation with new toolchain
Diffstat (limited to 'test/tools')
-rwxr-xr-x | test/tools/gcov_coveralls.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/tools/gcov_coveralls.py b/test/tools/gcov_coveralls.py index 71aa48b7b..ee441853f 100755 --- a/test/tools/gcov_coveralls.py +++ b/test/tools/gcov_coveralls.py @@ -46,7 +46,7 @@ def warn(*args, **kwargs): def parse_gcov_file(gcov_file): - """Parses the content of .gcov file written by gcov --intermediate-format + """Parses the content of .gcov file written by gcov -i Returns: str: Source file name @@ -72,13 +72,13 @@ def run_gcov(filename, coverage, args): * delete .gcov files """ if args.verbose: - warn("calling:", 'gcov', '--intermediate-format', filename) + warn("calling:", 'gcov', '-i', filename) stdout = None else: # gcov is noisy and don't have quit flag so redirect stdout to /dev/null stdout = subprocess.DEVNULL - subprocess.check_call(['gcov', '--intermediate-format', filename], stdout=stdout) + subprocess.check_call(['gcov', '-i', filename], stdout=stdout) for gcov_file in glob('*.gcov'): if args.verbose: |