audk/UnitTestFrameworkPkg/Library
Kun Qin c6b512962e UnitTestFrameworkPkg: UnitTestPersistenceLib: Save Unit Test Cache Option
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4467

Current implementation of UnitTestFrameworkPkg for shell-based unit test
will save the unit test cache to the same volume as the test application
itself. This works as long as the test application is on a writable
volume, such as USB or EFI partition.

Instead of saving the files to the same file system of unit test
application, this change will save the cache file to the path where the
user ran this test application.

This change then added an input argument to allow user to specify where
to save such cache file through `--CachePath` shell argument to allow
even more flexibility.

This change was tested on proprietary physical hardware platforms and
QEMU based virtual platform.

Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Michael Kubacki <mikuback@linux.microsoft.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>

Signed-off-by: Kun Qin <kuqin12@gmail.com>
Reviewed-by: Michael Kubacki <michael.kubacki@microsoft.com>
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
2023-07-20 20:20:42 +00:00
..
CmockaLib UnitTestFrameworkPkg: Add gmock support to GoogleTestLib 2023-04-10 05:59:02 +00:00
FunctionMockLib UnitTestFrameworkPkg: Add gmock support to GoogleTestLib 2023-04-10 05:59:02 +00:00
GoogleTestLib UnitTestFrameworkPkg: Add gmock support to GoogleTestLib 2023-04-10 05:59:02 +00:00
Posix UnitTestFrameworkPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SubhookLib UnitTestFrameworkPkg: Add subhook submodule required for gmock 2023-04-10 05:59:02 +00:00
UnitTestBootLibNull UnitTestFrameworkPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
UnitTestBootLibUsbClass UnitTestFrameworkPkg: Update to be more C11 compliant by using __func__ 2023-04-10 14:19:57 +00:00
UnitTestDebugAssertLib UnitTestFrameworkPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
UnitTestLib UnitTestFrameworkPkg: Update to be more C11 compliant by using __func__ 2023-04-10 14:19:57 +00:00
UnitTestPeiServicesTablePointerLib UnitTestFrameworkPkg: Add UnitTestPeiServicesTablePointerLib 2023-06-13 02:53:40 +00:00
UnitTestPersistenceLibNull UnitTestFrameworkPkg: Modify APIs in UnitTestPersistenceLib 2022-12-14 13:34:33 +00:00
UnitTestPersistenceLibSimpleFileSystem UnitTestFrameworkPkg: UnitTestPersistenceLib: Save Unit Test Cache Option 2023-07-20 20:20:42 +00:00
UnitTestResultReportLib UnitTestFrameworkPkg: Update to be more C11 compliant by using __func__ 2023-04-10 14:19:57 +00:00
UnitTestUefiBootServicesTableLib UnitTestFrameworkPkg: Add UnitTestUefiBootServicesTableLib 2022-11-07 16:07:33 +00:00