mirror of
https://github.com/rizsotto/scan-build.git
synced 2025-12-21 12:19:29 +01:00
fix #99
This commit is contained in:
@@ -33,3 +33,5 @@ v2.0.9 2017-09-03 -- Bug fix
|
|||||||
v2.0.10 2017-10-03 -- Add typing as dependency
|
v2.0.10 2017-10-03 -- Add typing as dependency
|
||||||
|
|
||||||
v2.0.11 2018-01-07 -- Fix decoding error at report generation
|
v2.0.11 2018-01-07 -- Fix decoding error at report generation
|
||||||
|
|
||||||
|
v2.0.12 2018-04-13 -- Fix log message bug
|
||||||
|
|||||||
@@ -408,7 +408,7 @@ def run_analyzer(opts, continuation=report_failure):
|
|||||||
message = 'failed to execute "{0}"'.format(opts['clang'])
|
message = 'failed to execute "{0}"'.format(opts['clang'])
|
||||||
return {'error_output': message, 'exit_code': 127}
|
return {'error_output': message, 'exit_code': 127}
|
||||||
except subprocess.CalledProcessError as ex:
|
except subprocess.CalledProcessError as ex:
|
||||||
logging.warning('analysis failed: %s', exc_info=True)
|
logging.warning('analysis failed', exc_info=True)
|
||||||
result = {'error_output': ex.output, 'exit_code': ex.returncode}
|
result = {'error_output': ex.output, 'exit_code': ex.returncode}
|
||||||
if opts.get('output_failures', False):
|
if opts.get('output_failures', False):
|
||||||
opts.update(result)
|
opts.update(result)
|
||||||
|
|||||||
2
setup.py
2
setup.py
@@ -5,7 +5,7 @@ from setuptools import setup
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='scan-build',
|
name='scan-build',
|
||||||
version='2.0.11',
|
version='2.0.12',
|
||||||
author='László Nagy',
|
author='László Nagy',
|
||||||
author_email='rizsotto@gmail.com',
|
author_email='rizsotto@gmail.com',
|
||||||
keywords=['Clang', 'scan-build', 'static analyzer'],
|
keywords=['Clang', 'scan-build', 'static analyzer'],
|
||||||
|
|||||||
Reference in New Issue
Block a user