[tbot] [Discussion] Calling tbot from within the source directory
sbabic at denx.de
Wed Nov 28 14:39:10 UTC 2018
On 28/11/18 15:22, Claudius Heine wrote:
> currently calling tbot from some directory that is not the directory
> containing the testcases is a bit inconvenient.
> For example the product specific testcase directory has the following
> ├── boards
> │ └── my-board.py
> ├── labs
> │ └── my-lab.py
> └── tc
> └── my-testcases.py
> Then I would have to call tbot from another directory like this:
> $ tbot -T /path/to/tbot-privat \
> -l /path/to/tbot-privat/labs/my-lab.py \
> -b /path/to/tbot-privat/boards/my-board my_test_case
> That is a bit tiresome. A `-C` parameter like git(1) has, would solve
> it, but I think accessing the source code via the cwd in the testcases
> as a fallback would be nice.
Because this is like a user setup (a usr has a set of boards + a set of
testcases), I would suggest as option to have a configuration file (like
buildman), something like
and we can call tbot simply with "tbot -b my-board my_test_case"
> I might just be my different understanding of things. I like to be in
> the directory of the stuff that should be tested, not where the
> testcases are located.
Agree. Now we have to go into tbot-privat to avoid to pass always the
> It also makes sense for me if multiple source
> directories need to be "tested" on the same hw.
> What do you think about this?
> DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-54 Fax: (+49)-8142-66989-80 Email: ch at denx.de
> PGP key: 6FF2 E59F 00C6 BC28 31D8 64C1 1173 CB19 9808 B153
> Keyserver: hkp://pool.sks-keyservers.net
> tbot mailing list
> tbot at lists.denx.de
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
More information about the tbot