On 11/24/25 23:44, David Lechner wrote:
Fix the names of environment variables set for hook scripts. These
have a U_BOOT_ prefix, not UBOOT_.
Signed-off-by: David Lechner <[email protected]>
---
doc/develop/pytest/usage.rst | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/doc/develop/pytest/usage.rst b/doc/develop/pytest/usage.rst
index
7335a39b9633bb16869dfc976adab32d78dc984f..7c42a31528fd0ef78d3e24f65ee86ce2d61d6e87
100644
--- a/doc/develop/pytest/usage.rst
+++ b/doc/develop/pytest/usage.rst
@@ -315,14 +315,14 @@ Environment variables
The following environment variables are set when running hook scripts:
-- ``UBOOT_BOARD_TYPE`` the board type being tested.
-- ``UBOOT_BOARD_IDENTITY`` the board identity being tested, or ``na`` if none
+- ``U_BOOT_BOARD_TYPE`` the board type being tested.
I checked for the variable names in U-Boot origin/next and
u-boot-test-hooks.
I could not find U_BOOT_BOARD_TYPE via grep.
+- ``U_BOOT_BOARD_IDENTITY`` the board identity being tested, or ``na`` if none
was specified.
-- ``UBOOT_SOURCE_DIR`` the U-Boot source directory.
-- ``UBOOT_TEST_PY_DIR`` the full path to ``test/py/`` in the source directory.
-- ``UBOOT_BUILD_DIR`` the U-Boot build directory.
-- ``UBOOT_RESULT_DIR`` the test result directory.
-- ``UBOOT_PERSISTENT_DATA_DIR`` the test persistent data directory.
+- ``U_BOOT_SOURCE_DIR`` the U-Boot source directory.
ok
+- ``U_BOOT_TEST_PY_DIR`` the full path to ``test/py/`` in the source directory.
U_BOOT_TEST_PY_DIR does not exist.
There is a variable TEST_PY_DIR used in test/py/conftest.py.
+- ``U_BOOT_BUILD_DIR`` the U-Boot build directory.
ok
+- ``U_BOOT_RESULT_DIR`` the test result directory.
U_BOOT_RESULT_DIR does not exist.
+- ``U_BOOT_PERSISTENT_DATA_DIR`` the test persistent data directory.
U_BOOT_BUILD_DIR_EXTRA (used in test/py/conftest.py:167) is missing in
the list.
Best regards
Heinrich
u-boot-test-console
'''''''''''''''''''