summaryrefslogtreecommitdiffstats
path: root/UnitTestFrameworkPkg/UnitTestFrameworkPkg.ci.yaml
diff options
context:
space:
mode:
authorMichael D Kinney <michael.d.kinney@intel.com>2022-06-20 19:52:03 -0700
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-11-11 05:46:51 +0000
commitcef0c5c68427f4e93dc9c4135a8e60018f2307b5 (patch)
tree1496519ff0b99e3bbeeada5a6e606c651c04ef95 /UnitTestFrameworkPkg/UnitTestFrameworkPkg.ci.yaml
parentc1b073a9dccc11fbd9fdfd69f76de6e972ad1550 (diff)
downloadedk2-cef0c5c68427f4e93dc9c4135a8e60018f2307b5.tar.gz
edk2-cef0c5c68427f4e93dc9c4135a8e60018f2307b5.tar.bz2
edk2-cef0c5c68427f4e93dc9c4135a8e60018f2307b5.zip
UnitTestFrameworkPkg: Add googletest submodule and GoogleTestLib
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4134 Add submodule for googletest and add GoogleTestLib that is required for GoogleTest based unit tests. Add GoogleTest documentation to Readme.md along with a port of the sample unit test to the GoogleTest style. A few typos in Readme.md are also fixed. Cc: Michael Kubacki <mikuback@linux.microsoft.com> Cc: Sean Brogan <sean.brogan@microsoft.com> Cc: Andrew Fish <afish@apple.com> Cc: Leif Lindholm <quic_llindhol@quicinc.com> Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Michael Kubacki <mikuback@linux.microsoft.com> Acked-by: Leif Lindholm <quic_llindhol@quicinc.com>
Diffstat (limited to 'UnitTestFrameworkPkg/UnitTestFrameworkPkg.ci.yaml')
-rw-r--r--UnitTestFrameworkPkg/UnitTestFrameworkPkg.ci.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/UnitTestFrameworkPkg/UnitTestFrameworkPkg.ci.yaml b/UnitTestFrameworkPkg/UnitTestFrameworkPkg.ci.yaml
index 77d51e1348..072df6208c 100644
--- a/UnitTestFrameworkPkg/UnitTestFrameworkPkg.ci.yaml
+++ b/UnitTestFrameworkPkg/UnitTestFrameworkPkg.ci.yaml
@@ -78,7 +78,8 @@
"SpellCheck": {
"AuditOnly": False, # Fails test but run in AuditOnly mode to collect log
"IgnoreFiles": [ # use gitignore syntax to ignore errors in matching files
- "Library/CmockaLib/cmocka/**/*.*" # not going to spell check a submodule
+ "Library/CmockaLib/cmocka/**/*.*", # not going to spell check a submodule
+ "Library/GoogleTestLib/googletest/**/*.*" # not going to spell check a submodule
],
"ExtendWords": [ # words to extend to the dictionary for this package
"testcase",
@@ -91,6 +92,7 @@
"NOFAILURE",
"cmockery",
"DHAVE", # build flag for cmocka in the INF
+ "gtest", # file name in GoogleTestLib.inf
"corthon", # Contact GitHub account in Readme
"mdkinney", # Contact GitHub account in Readme
"spbrogan" # Contact GitHub account in Readme