Skip to content

Commit 50cbdab

Browse files
dlechxypron
authored andcommitted
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>
1 parent cb8156e commit 50cbdab

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

doc/develop/pytest/usage.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -315,14 +315,14 @@ Environment variables
315315

316316
The following environment variables are set when running hook scripts:
317317

318-
- ``UBOOT_BOARD_TYPE`` the board type being tested.
319-
- ``UBOOT_BOARD_IDENTITY`` the board identity being tested, or ``na`` if none
318+
- ``U_BOOT_BOARD_TYPE`` the board type being tested.
319+
- ``U_BOOT_BOARD_IDENTITY`` the board identity being tested, or ``na`` if none
320320
was specified.
321-
- ``UBOOT_SOURCE_DIR`` the U-Boot source directory.
322-
- ``UBOOT_TEST_PY_DIR`` the full path to ``test/py/`` in the source directory.
323-
- ``UBOOT_BUILD_DIR`` the U-Boot build directory.
324-
- ``UBOOT_RESULT_DIR`` the test result directory.
325-
- ``UBOOT_PERSISTENT_DATA_DIR`` the test persistent data directory.
321+
- ``U_BOOT_SOURCE_DIR`` the U-Boot source directory.
322+
- ``U_BOOT_TEST_PY_DIR`` the full path to ``test/py/`` in the source directory.
323+
- ``U_BOOT_BUILD_DIR`` the U-Boot build directory.
324+
- ``U_BOOT_RESULT_DIR`` the test result directory.
325+
- ``U_BOOT_PERSISTENT_DATA_DIR`` the test persistent data directory.
326326

327327
u-boot-test-console
328328
'''''''''''''''''''

0 commit comments

Comments
 (0)