[tbot] [Discussion] Calling tbot from within the source directory

Heiko Schocher hs at denx.de
Thu Nov 29 05:16:31 UTC 2018


Hello Harald,

Am 28.11.2018 um 18:26 schrieb Harald Seiler:
> Hi Stefano,
> 
> On Wed, 2018-11-28 at 17:47 +0100, Stefano Babic wrote:
>> On 28/11/18 16:26, Harald Seiler wrote:
>>> On Wed, 2018-11-28 at 16:20 +0100, Stefano Babic wrote:
> [...]
>>> Two more things:
>>>
>>> 1. Right now, tbot checks -T paths recursively.
>>
>> And this is very nice !
>>
>>>   Do you think this should also
>>>     be the case for TBOTPATH paths?  Or should only python files inside the specified
>>>     directory be considered?
>>
>> I think it is enough to check the directory.
> 
> Implemented:
> 
> 	https://github.com/Rahix/tbot/commit/3c92c8fefff1ab2fdc0dc59def71c3f9fd81510c

I am late ... I like this additional paramter. Just tried it and for me
it works.

Thanks!

>>> 2. An easy way around having to use a long tbot commandline all the time is setting
>>>     an alias or - what I currently use - add a script ./tbot which just calls tbot
>>>     with the configuration added. Eg:
>>>
>>>     	#!/bin/sh
>>>     	tbot -l labs/pollux.py -vv $*
>>
>> Right, this is what I do.

I use an alias file.

bye,
Heiko
>>
>> Stefano
>>
>>>
>>> Harald
>>>
>>>>
>>>>>
>>>>>>>
>>>>>>> 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
>>>>>> full path.
>>>>>>
>>>>>>> It also makes sense for me if multiple source
>>>>>>> directories need to be "tested" on the same hw.
>>>>>>
>>>>>> Agree.
>>>>>>
>>>>>>>
>>>>>>> What do you think about this?
>>>>>>
>>>>>> Regards,
>>>>>> Stefano
>>>>>>
>>>>>>>
>>>>>>> Cheers,
>>>>>>> Claudius
>>>>>>>
>>>>>>
>>>>>>
>>>>
>>>>
>>
>>

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de


More information about the tbot mailing list