Skip to content

Commit 150ca20

Browse files
authored
daca@home: use --unsafe-exitcode (#5772)
the daca script will think that analysis crashed otherwise.
1 parent 7c316fb commit 150ca20

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/donate_cpu_lib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ def scan_package(cppcheck_path, source_path, libraries, capture_callstack=True):
443443
# TODO: temporarily disabled timing information - use --showtime=top5_summary when next version is released
444444
# TODO: remove missingInclude disabling when it no longer is implied by --enable=information
445445
# Reference for GNU C: https://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html
446-
options = libs + ' --check-library --inconclusive --enable=style,information --inline-suppr --disable=missingInclude --suppress=unmatchedSuppression --template=daca2'
446+
options = libs + ' --unsafe-exitcode --check-library --inconclusive --enable=style,information --inline-suppr --disable=missingInclude --suppress=unmatchedSuppression --template=daca2'
447447
options += ' --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning'
448448
options += ' -D__GNUC__ --platform=unix64'
449449
options_rp = options + ' -rp={}'.format(dir_to_scan)

0 commit comments

Comments
 (0)