Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: c6b512962e92ae54a895bdfd2147abaf2c9e3e22
      
https://github.com/tianocore/edk2/commit/c6b512962e92ae54a895bdfd2147abaf2c9e3e22
  Author: Kun Qin <[email protected]>
  Date:   2023-07-20 (Thu, 20 Jul 2023)

  Changed paths:
    M 
UnitTestFrameworkPkg/Library/UnitTestPersistenceLibSimpleFileSystem/UnitTestPersistenceLibSimpleFileSystem.c

  Log Message:
  -----------
  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 <[email protected]>
Cc: Michael Kubacki <[email protected]>
Cc: Michael D Kinney <[email protected]>

Signed-off-by: Kun Qin <[email protected]>
Reviewed-by: Michael Kubacki <[email protected]>
Reviewed-by: Michael D Kinney <[email protected]>




_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to