aboutsummaryrefslogtreecommitdiffstats
path: root/roms/edk2/.pytool/Plugin/DscCompleteCheck/Readme.md
diff options
context:
space:
mode:
Diffstat (limited to 'roms/edk2/.pytool/Plugin/DscCompleteCheck/Readme.md')
-rw-r--r--roms/edk2/.pytool/Plugin/DscCompleteCheck/Readme.md32
1 files changed, 32 insertions, 0 deletions
diff --git a/roms/edk2/.pytool/Plugin/DscCompleteCheck/Readme.md b/roms/edk2/.pytool/Plugin/DscCompleteCheck/Readme.md
new file mode 100644
index 000000000..8aaa4f76e
--- /dev/null
+++ b/roms/edk2/.pytool/Plugin/DscCompleteCheck/Readme.md
@@ -0,0 +1,32 @@
+# Dsc Complete Check Plugin
+
+This CiBuildPlugin scans all INF files from a package and confirms they are
+listed in the package level DSC file. The test considers it an error if any INF
+does not appear in the `Components` section of the package-level DSC (indicating
+that it would not be built if the package were built). This is critical because
+much of the CI infrastructure assumes that all modules will be listed in the DSC
+and compiled.
+
+This test will ignore INFs in the following cases:
+
+1. When MODULE_TYPE = HOST_APPLICATION
+2. When a Library instance **only** supports the HOST_APPLICATION environment
+
+## Configuration
+
+The plugin has a few configuration options to support the UEFI codebase.
+
+``` yaml
+"DscCompleteCheck": {
+ "DscPath": "", # Path to dsc from root of package
+ "IgnoreInf": [] # Ignore INF if found in filesystem but not dsc
+ }
+```
+
+### DscPath
+
+Path to DSC to consider platform dsc
+
+### IgnoreInf
+
+Ignore error if Inf file is not listed in DSC file