audk/.pytool/Plugin/DependencyCheck
Michael D Kinney 61364ab927 .pytool: Add CI support for host based unit tests with results
https://bugzilla.tianocore.org/show_bug.cgi?id=2505

* Add plugin to build and run host based unit tests
* Add plugin that performs a DSC complete check DSC files
  used to build host based tests
* Update DscCompleteCheck plugin to ignore module INFs with
  a MODULE_TYPE of HOST_APPLICATION and library INFs that
  only support a module type of HOST_APPLICATION.
* Fix issues in XML reports from checkers.

Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Bret Barkelew <Bret.Barkelew@microsoft.com>
2020-02-07 19:18:53 +00:00
..
DependencyCheck.py .pytool: Add CI support for host based unit tests with results 2020-02-07 19:18:53 +00:00
DependencyCheck_plug_in.yaml .pytool/Plugin: Add CI plugins 2019-11-11 13:02:03 -08:00
Readme.md .pytool/Plugin: Add CI plugins 2019-11-11 13:02:03 -08:00

Readme.md

Depdendency Check Plugin

A CiBuildPlugin that finds all modules (inf files) in a package and reviews the packages used to confirm they are acceptable. This is to help enforce layering and identify improper dependencies between packages.

Configuration

The plugin must be configured with the acceptabe package dependencies for the package.

"DependencyCheck": {
    "AcceptableDependencies": [],
    "AcceptableDependencies-<MODULE_TYPE>": [],
    "IgnoreInf": []
}

AcceptableDependencies

Package dec files that are allowed in all INFs. Example: MdePkg/MdePkg.dec

AcceptableDependencies-<MODULE_TYPE>

OPTIONAL Package dependencies for INFs that have module type <MODULE_TYPE>. Example: AcceptableDependencies-HOST_APPLICATION.

IgnoreInf

OPTIONAL list of INFs to ignore for this dependency check.