]> xenbits.xensource.com Git - people/andrewcoop/xen.git/commit
exclude-list: generalise exclude-list
authorLuca Fancellu <luca.fancellu@arm.com>
Thu, 26 Oct 2023 10:32:43 +0000 (11:32 +0100)
committerStefano Stabellini <stefano.stabellini@amd.com>
Tue, 7 Nov 2023 20:43:52 +0000 (12:43 -0800)
commitbede1c7e3b790b63f1ff3ea3ee4e476b012fdf2c
tree95fc180a95aefa4987031b7c5546fd8776c555d6
parentd82a8217d5345109df0783b99b5e753bb29ab668
exclude-list: generalise exclude-list

Currently exclude-list.json is used by the xen-analysis tool to
remove from the report (cppcheck for now) violations from the
files listed in it, however that list can be used by different
users that might want to exclude some of the files from their
computation for many reasons.

So add a new field that can be part of each entry to link
the tool supposed to consider that exclusion.

Update exclusion_file_list.py to implement the logic and update
the documentation to reflect this change.

Signed-off-by: Luca Fancellu <luca.fancellu@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
docs/misra/exclude-list.rst
xen/scripts/xen_analysis/exclusion_file_list.py