* [PATCH V3 5/5] CryptoPkg/openssl: disable codestyle checks for generated files
[not found] <cover.1652158716.git.yi1.li@intel.com>
@ 2022-05-10 5:13 ` yi1 li
0 siblings, 0 replies; only message in thread
From: yi1 li @ 2022-05-10 5:13 UTC (permalink / raw)
To: devel
Cc: Yi Li, Gerd Hoffmann, Jiewen Yao, Jian J Wang, Xiaoyu Lu,
Guomin Jiang
Files generated by process_files.pl from openssl sources should not be checked for edk2 code style.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Yi Li <yi1.li@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Xiaoyu Lu <xiaoyu1.lu@intel.com>
Cc: Guomin Jiang <guomin.jiang@intel.com>
---
CryptoPkg/CryptoPkg.ci.yaml | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/CryptoPkg/CryptoPkg.ci.yaml b/CryptoPkg/CryptoPkg.ci.yaml
index 396ca93dbe49..420b80aa6d4c 100644
--- a/CryptoPkg/CryptoPkg.ci.yaml
+++ b/CryptoPkg/CryptoPkg.ci.yaml
@@ -10,7 +10,8 @@
"IgnoreFiles": [
# These directories contain auto-generated OpenSSL content
"Library/OpensslLib/X64",
- "Library/OpensslLib/X64Gcc"
+ "Library/OpensslLib/X64Gcc",
+ "Library/Include/openssl",
]
},
"EccCheck": {
@@ -26,6 +27,8 @@
## Both file path and directory path are accepted.
"IgnoreFiles": [
"Library/OpensslLib/openssl",
+ "Library/Include/openssl",
+ "Library/Include/crypto",
# The unit testing folder is not to be checked
"Test/UnitTest",
# This has OpenSSL interfaces that aren't UEFI spec compliant
@@ -89,5 +92,14 @@
"ExtendWords": [], # words to extend to the dictionary for this package
"IgnoreStandardPaths": [], # Standard Plugin defined paths that should be ignore
"AdditionalIncludePaths": [] # Additional paths to spell check (wildcards supported)
+ },
+
+ # options defined in .pytool/Plugin/UncrustifyCheck
+ "UncrustifyCheck": {
+ "IgnoreFiles": [
+ "opensslconf.h",
+ "dso_conf.h",
+ "opensslconf_generated.h",
+ ]
}
}
--
2.31.1.windows.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-05-10 5:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <cover.1652158716.git.yi1.li@intel.com>
2022-05-10 5:13 ` [PATCH V3 5/5] CryptoPkg/openssl: disable codestyle checks for generated files yi1 li
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox