summaryrefslogtreecommitdiffstats
path: root/documentation/conf.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-07-01 17:52:52 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-07-04 22:52:36 +0100
commitbc6d96e69684253a7236594cb0af2738be06b7a9 (patch)
tree808dd13032bcbecf4ecd62c5a493bfeda289ae57 /documentation/conf.py
parent04467fb51c6816e7373e0bbbe983a97972c6312f (diff)
downloadpoky-bc6d96e69684253a7236594cb0af2738be06b7a9.tar.gz
bitbake: ConfHandler/BBHandler: Improve comment error messages and add tests
Currently if you trigger one of the comment errors, the newline characters are stripped and the line numbers are incorrect. In one case it prints the empty line which is also unhelpful. Rework the code around these errors so the line numbers are correct and the lines in question are more clearly displayed complete with newlines so the user can more clearly see the error. I also added a couple of simplistic test cases to ensure that errors are raised by the two known comment format errors. [YOCTO #11904] (Bitbake rev: 712da71b24445c814d79a206ce26188def8fce0a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/conf.py')
0 files changed, 0 insertions, 0 deletions