summaryrefslogtreecommitdiffstats
path: root/UnitTestFrameworkPkg/Test/UnitTestFrameworkPkgHostTest.dsc
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/Test/UnitTestFrameworkPkgHostTest.dsc
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/Test/UnitTestFrameworkPkgHostTest.dsc')
-rw-r--r--UnitTestFrameworkPkg/Test/UnitTestFrameworkPkgHostTest.dsc4
1 files changed, 3 insertions, 1 deletions
diff --git a/UnitTestFrameworkPkg/Test/UnitTestFrameworkPkgHostTest.dsc b/UnitTestFrameworkPkg/Test/UnitTestFrameworkPkgHostTest.dsc
index 184fdec87a..708ef7f9ab 100644
--- a/UnitTestFrameworkPkg/Test/UnitTestFrameworkPkgHostTest.dsc
+++ b/UnitTestFrameworkPkg/Test/UnitTestFrameworkPkgHostTest.dsc
@@ -23,14 +23,16 @@
[Components]
#
- # Build HOST_APPLICATION that tests the SampleUnitTest
+ # Build HOST_APPLICATIONs that test the SampleUnitTest
#
UnitTestFrameworkPkg/Test/UnitTest/Sample/SampleUnitTest/SampleUnitTestHost.inf
+ UnitTestFrameworkPkg/Test/GoogleTest/Sample/SampleGoogleTest/SampleGoogleTestHost.inf
#
# Build HOST_APPLICATION Libraries
#
UnitTestFrameworkPkg/Library/CmockaLib/CmockaLib.inf
+ UnitTestFrameworkPkg/Library/GoogleTestLib/GoogleTestLib.inf
UnitTestFrameworkPkg/Library/Posix/DebugLibPosix/DebugLibPosix.inf
UnitTestFrameworkPkg/Library/Posix/MemoryAllocationLibPosix/MemoryAllocationLibPosix.inf
UnitTestFrameworkPkg/Library/UnitTestLib/UnitTestLibCmocka.inf