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
'{}:0:0: information: Too many #ifdef configurations - cppcheck only checks {} of {} configurations. Use --force to check all configurations. [toomanyconfigs]'
# TODO: this lacks context about the configuration which encounters these errors
4015
+
# TODO: add message when a configuration is dropped?
4016
+
assertstderr.splitlines() == [
4017
+
# TODO: should only report the error once
4018
+
'{}:1:2: error: No header in #include [syntaxError]'.format(test_file),
4019
+
'{}:1:2: error: No header in #include [syntaxError]'.format(test_file),
4020
+
'{}:1:2: error: No header in #include [syntaxError]'.format(test_file),
4021
+
'{}:0:0: information: This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details. [noValidConfiguration]'.format(test_file)
4022
+
]
4023
+
4024
+
args+= ['--check-config']
4025
+
4026
+
exitcode, stdout, stderr=cppcheck(args)
4027
+
assertexitcode==0, stdout
4028
+
assertstdout.splitlines() == [
4029
+
'Checking {} ...'.format(test_file)
4030
+
]
4031
+
# TODO: this lacks context about the configuration which encounters these errors
4032
+
# TODO: add message when a configuration is dropped
4033
+
assertstderr.splitlines() == [
4034
+
'{}:1:2: error: No header in #include [syntaxError]'.format(test_file),
4035
+
'{}:1:2: error: No header in #include [syntaxError]'.format(test_file)
0 commit comments