diff options
| author | David Lechner <[email protected]> | 2025-11-24 16:44:07 -0600 |
|---|---|---|
| committer | Heinrich Schuchardt <[email protected]> | 2025-12-06 11:42:43 +0100 |
| commit | 18e2a059ff3f04e21cf2f17af59d2c812cebc517 (patch) | |
| tree | 16a7009a460e4c0d75aeb8bd614135021426cdc0 /doc/develop | |
| parent | 50cbdaba66ac0fc1bd8d915a2452c54a120f06f6 (diff) | |
doc: pytest: add missing hook script env vars
Add the _EXTRA variants of U_BOOT_BUILD_DIR and U_BOOT_RESULT_DIR to the
list of environment variables set for hook scripts.
These were added in commit 8f2a9fa7d6e7 ("test: Support testing with two
board-builds") but were not documented.
Signed-off-by: David Lechner <[email protected]>
Diffstat (limited to 'doc/develop')
| -rw-r--r-- | doc/develop/pytest/usage.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/develop/pytest/usage.rst b/doc/develop/pytest/usage.rst index 7c42a31528f..df3821da20d 100644 --- a/doc/develop/pytest/usage.rst +++ b/doc/develop/pytest/usage.rst @@ -316,11 +316,13 @@ Environment variables The following environment variables are set when running hook scripts: - ``U_BOOT_BOARD_TYPE`` the board type being tested. +- ``U_BOOT_BOARD_TYPE_EXTRA`` the 2nd board type being tested, if applicable. - ``U_BOOT_BOARD_IDENTITY`` the board identity being tested, or ``na`` if none was specified. - ``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_BUILD_DIR_EXTRA`` the 2nd U-Boot build directory, if applicable. - ``U_BOOT_RESULT_DIR`` the test result directory. - ``U_BOOT_PERSISTENT_DATA_DIR`` the test persistent data directory. |
