summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLiam Beguin <liambeguin@gmail.com>2018-03-14 19:15:13 -0400
committerTom Rini <trini@konsulko.com>2018-03-22 13:25:20 -0400
commitbe91691d081359e7366e487df7894af63268333d (patch)
treea3faa7ec420af0cead4dac52c41346cdbd9d089b /test
parent0e5dd786e99cba005648993591d59bcaa928e480 (diff)
downloadu-boot-be91691d081359e7366e487df7894af63268333d.tar.gz
u-boot-be91691d081359e7366e487df7894af63268333d.tar.xz
u-boot-be91691d081359e7366e487df7894af63268333d.zip
test/py: README: add HOSTNAME to PYTHONPATH
As opposed to PATH, HOSTNAME is not appended to PYTHONPATH automatically. Lets add it to the examples to make it more obvious to new users. Signed-off-by: Liam Beguin <liambeguin@gmail.com> Reviewed-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'test')
-rw-r--r--test/py/README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/py/README.md b/test/py/README.md
index 000afce93c..aed2fd063a 100644
--- a/test/py/README.md
+++ b/test/py/README.md
@@ -320,7 +320,7 @@ If U-Boot has already been built:
```bash
PATH=$HOME/ubtest/bin:$PATH \
- PYTHONPATH=${HOME}/ubtest/py:${PYTHONPATH} \
+ PYTHONPATH=${HOME}/ubtest/py/${HOSTNAME}:${PYTHONPATH} \
./test/py/test.py --bd seaboard
```
@@ -331,7 +331,7 @@ follow:
```bash
CROSS_COMPILE=arm-none-eabi- \
PATH=$HOME/ubtest/bin:$PATH \
- PYTHONPATH=${HOME}/ubtest/py:${PYTHONPATH} \
+ PYTHONPATH=${HOME}/ubtest/py/${HOSTNAME}:${PYTHONPATH} \
./test/py/test.py --bd seaboard --build
```