public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Liam Beguin <liambeguin@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/3] test/py: README: add HOSTNAME to PYTHONPATH
Date: Mon, 26 Feb 2018 23:17:45 -0500	[thread overview]
Message-ID: <20180227041746.2509-3-liambeguin@gmail.com> (raw)
In-Reply-To: <20180227041746.2509-1-liambeguin@gmail.com>

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>
---
 test/py/README.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/py/README.md b/test/py/README.md
index 000afce93c4a..aed2fd063a81 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
 ```
 
-- 
2.16.1.72.g5be1f00a9a70

  parent reply	other threads:[~2018-02-27  4:17 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-27  4:17 [U-Boot] [PATCH 0/3] add inital SF tests Liam Beguin
2018-02-27  4:17 ` [U-Boot] [PATCH 1/3] test/py: README: fix typo Liam Beguin
2018-03-01 21:23   ` Stephen Warren
2018-03-03 16:32     ` Liam Beguin
2018-02-27  4:17 ` Liam Beguin [this message]
2018-03-01 21:25   ` [U-Boot] [PATCH 2/3] test/py: README: add HOSTNAME to PYTHONPATH Stephen Warren
2018-02-27  4:17 ` [U-Boot] [PATCH 3/3] test/py: add spi_flash tests Liam Beguin
2018-02-27  8:51   ` Michal Simek
2018-03-01  4:01     ` Liam Beguin
2018-03-01  6:59       ` Michal Simek
2018-03-01 11:48         ` Liam Beguin
2018-03-01 11:58           ` Michal Simek
2018-03-01 21:18           ` Stephen Warren
2018-03-05  7:58             ` Michal Simek
2018-03-01 21:56   ` Stephen Warren
2018-03-03 16:32     ` Liam Beguin
2018-03-13 21:22       ` Stephen Warren
2018-03-13 23:52         ` Liam Beguin
2018-02-27 11:52 ` [U-Boot] [PATCH 0/3] add inital SF tests Michal Simek
2018-03-01 21:22   ` Stephen Warren
2018-03-05  7:56     ` Michal Simek
2018-02-27 16:29 ` Stephen Warren
2018-02-27 18:52   ` Liam Beguin
2018-02-28 17:50     ` Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180227041746.2509-3-liambeguin@gmail.com \
    --to=liambeguin@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox