autotest: add comment clarifying what an error actually means
This commit is contained in:
parent
43bbfacef5
commit
122d97ece7
@ -2417,6 +2417,10 @@ class AutoTest(ABC):
|
|||||||
continue
|
continue
|
||||||
for label in docco_ids[name]["labels"]:
|
for label in docco_ids[name]["labels"]:
|
||||||
if label not in code_ids[name]["labels"].split(","):
|
if label not in code_ids[name]["labels"].split(","):
|
||||||
|
# "name" was found in the XML, so was found in an
|
||||||
|
# @LoggerMessage markup line, but was *NOT* found
|
||||||
|
# in our bodgy parsing of the C++ code (in a
|
||||||
|
# Log_Write call or in the static structures
|
||||||
raise NotAchievedException("documented field %s.%s not found in code" %
|
raise NotAchievedException("documented field %s.%s not found in code" %
|
||||||
(name, label))
|
(name, label))
|
||||||
if len(missing) > 0:
|
if len(missing) > 0:
|
||||||
|
Loading…
Reference in New Issue
Block a user