You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# default max configs is set to 12, warn if code contains more configurations than that
3963
+
_, stdout, stderr=cppcheck(args)
3962
3964
assertstderr.splitlines() == [
3963
3965
'{}:0:0: information: Too many #ifdef configurations - cppcheck only checks 12 of 20 configurations. Use --force to check all configurations. [toomanyconfigs]'.format(test_file)
'{}:0:0: information: Too many #ifdef configurations - cppcheck only checks 6 of 20 configurations. Use --force to check all configurations. [toomanyconfigs]'.format(test_file)
3974
3977
]
3978
+
3979
+
# when using --check-configs, do not warn if code contains less than max configs
0 commit comments