]> git.dujemihanovic.xyz Git - u-boot.git/commit
sandbox: Add a way to access persistent test files
authorSimon Glass <sjg@chromium.org>
Thu, 24 Aug 2023 19:55:37 +0000 (13:55 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 25 Aug 2023 21:55:19 +0000 (17:55 -0400)
commite2d22f782297bcec8b0b55d15b9a04e92bd4ea83
tree3e23633bfe4f55378e48764ca1fd03ff3fbaec08
parent8d6337e69147557fb3c4b89a27156ac468a20500
sandbox: Add a way to access persistent test files

Some pytests create files in the persistent-data directory. It is useful
to be able to access these files in C tests. Add a function which can
locate a file given its leaf name, using the environment variable set
up in test/py/conftest.py

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/cpu/os.c
include/os.h