summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2024-12-14 11:20:20 -0700
committerTom Rini <[email protected]>2025-01-25 16:27:24 -0600
commitba87a2fcfbfb79813983f106c212684907ca6c55 (patch)
treee30472e331ce5cee1e5c27cd8363db9c5d22fc2d /scripts
parent0e198ff1a9114763af3e82e7abf884ee1da4e64f (diff)
test/py: Provide the correct U_BOOT_SOURCE_DIR to getrole
The u-boot-test-getrole script runs before the normal environment variables have been set up. This is unavoidable since the script is providing necessary information to test.py This means that U_BOOT_SOURCE_DIR is not set in the environment. As a result, Labgrid uses its default source path, configured in its environment variable. While this may happen to work, it is not correct. Also, it causes problems when running from Gitlab, where the runner may not have access to that source path. Provide the required source path in U_BOOT_SOURCE_DIR so that Labgrid does the right thing. Signed-off-by: Simon Glass <[email protected]> Fixes: bf89a8f1fc2 ("test: Introduce the concept of a role") [1] https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions