doc: pytest: fix hook script environment variable names

Fix the names of environment variables set for hook scripts. These
have a U_BOOT_ prefix, not UBOOT_.

Signed-off-by: David Lechner <dlechner@baylibre.com>
This commit is contained in:
David Lechner
2025-11-24 16:44:06 -06:00
committed by Heinrich Schuchardt
parent cb8156e9ef
commit 50cbdaba66

View File

@@ -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.
- ``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.
- ``U_BOOT_TEST_PY_DIR`` the full path to ``test/py/`` in the source directory.
- ``U_BOOT_BUILD_DIR`` the U-Boot build directory.
- ``U_BOOT_RESULT_DIR`` the test result directory.
- ``U_BOOT_PERSISTENT_DATA_DIR`` the test persistent data directory.
u-boot-test-console
'''''''''''''''''''