support/testing: test check-package ignore list

Extend test_check_package to also check the ignore list functionality.
Check:
- the entries in the ignore list use relative path;
- an entry in the ignore list actually ignores the warning;
- an outdated entry in the ignore list generates a warning by its own,
  preventing the ignoring list to grow indefinitely.

For this to work, add 3 test fixtures, listing entries for an
pre-existing file in the br2-external used in the test.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Ricardo Martincoski
2022-07-31 16:35:09 -03:00
committed by Thomas Petazzoni
parent ddf4586b00
commit d631615eb1
4 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1 @@
external/external.mk PackageHeader

View File

@@ -0,0 +1 @@
external/external.mk Indent NewlineAtEof PackageHeader